diff --git a/openjpa-integration/tck/pom.xml b/openjpa-integration/tck/pom.xml
index 0ae004465..2cf92078a 100644
--- a/openjpa-integration/tck/pom.xml
+++ b/openjpa-integration/tck/pom.xml
@@ -22,12 +22,20 @@
This build file is used to run the JPA TCK. It assumes that you have
the TCK zip file located at:
- ${user.home}/.m2/privaterepos/jpa-1_0b-tck.zip
+ For JPA 1.0 -
+ ${user.home}/.m2/privaterepos/jpa-1_0b-tck.zip
+ For JPA 2.0 -
+ ${user.home}/.m2/privaterepos/jpatck-2.0_09-Dec-2009.zip
If you have that file in a different location, it can be specified with
the "tck.zip" system property.
- The TCK will only be run if you have the "tck-profile" enabled.
+ The TCK will only be run if you have one of the following profiles enabled:
+
+ For JPA 1.0 -
+ -Ptck-profile
+ For JPA 2.0 -
+ -Ptck2-profile
To run a specific package of tests, use the "jpatck.pkg.dir" system
property to specify the parent directory of the tests you want to run.
@@ -66,10 +74,225 @@
-
- tck-profile
-
-
+
+
+ tck2-profile
+
+
+
+ org.apache.maven.plugins
+ maven-antrun-plugin
+
+
+ run-tck
+ integration-test
+
+
+ Running Sun JPA 2.0 TCK
+
+
+
+ The TCK file ${tck.zip} does not exist. This file must be downloaded separately in order to be able to run the JPA TCK
+
+
+ The TCK file specific in the "tck.zip" system property (${tck.zip}) does not exist. This file must be downloaded separately in order to be able to run the JPA TCK
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+javax.persistence.provider: org.apache.openjpa.persistence.PersistenceProviderImpl
+openjpa.ConnectionDriverName: ${db.driver}
+openjpa.ConnectionURL: ${db.url}
+openjpa.ConnectionUserName: ${db.username}
+openjpa.ConnectionPassword: ${db.password}
+openjpa.FetchBatchSize: -1
+openjpa.Compatibility: StrictIdentityValues=true
+openjpa.Sequence: time
+openjpa.Log: DefaultLevel=${openjpa.log.level}
+openjpa.jdbc.DBDictionary: StoreCharsAsNumbers=false
+openjpa.jdbc.SchemaFactory: native(ForeignKeys=true)
+
+
+
+
+
+
+
+
+#########################################################################
+## OpenJPA specific properties follow
+#########################################################################
+
+jpa.home=${tck.dir}
+work.dir=${jpatck.work.dir}
+report.dir=${tck.dir}/../reports
+jpa.classes=${cp.property}
+database.classes=${jpa.classes}
+# Need to specify java.* classes, both in Windows/UNIX locations as well as Mac.
+# This includes a few different possible locations; only one of them needs to
+# actually work for a given environment.
+sigTestClasspath=${JAVA_HOME}/lib/rt.jar${path.separator}${JAVA_HOME}/jre/lib/rt.jar${path.separator}${JAVA_HOME}/../Classes/classes.jar${path.separator}$${jpa.classes}
+persistence.unit.properties.file.full.path=${openjpa.properties}
+database.user=${db.username}
+database.passwd=${db.password}
+database.url=${db.url}
+database.driver=${db.driver}
+databaseName=${db.name}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AGENT: ${agent}${agent.properties}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Logging JPA 2.0 TCK output to ${tck.log}
+
+
+
+
+
+
+
+
+
+
+
+
+ Some tests failed
+
+ JPA TCK Passed 100%!
+
+
+
+ Results archive at: ${tck.results.archive}
+
+
+
+
+ run
+
+
+
+
+
+
+
+
+
+ org.apache.openjpa
+ openjpa-all
+ ${pom.version}
+
+
+
+
+
+
+ tck-profile
+
+
org.apache.maven.plugins
maven-antrun-plugin
@@ -268,33 +491,34 @@ databaseName=${db.name}
-
-
-
-
-
-
-
-
-
+
+
+ -->
+
+
org.apache.geronimo.specs
geronimo-jpa_2.0_spec
compile
-
-
+
+
org.apache.openjpa
openjpa-kernel
${pom.version}
-
+
+
+
+
+
+
org.apache.derby
derby