diff --git a/openjpa-integration/pom.xml b/openjpa-integration/pom.xml new file mode 100644 index 000000000..95c6c3c8a --- /dev/null +++ b/openjpa-integration/pom.xml @@ -0,0 +1,33 @@ + + + + 4.0.0 + openjpa-integration + pom + OpenJPA Integration Tests + + org.apache.openjpa + openjpa + 0.9.7-incubating-SNAPSHOT + + + tck + + diff --git a/openjpa-integration/tck/pom.xml b/openjpa-integration/tck/pom.xml new file mode 100644 index 000000000..11802077c --- /dev/null +++ b/openjpa-integration/tck/pom.xml @@ -0,0 +1,255 @@ + + + + + + 4.0.0 + tck + pom + OpenJPA JPA TCK Integration Tests + + org.apache.openjpa + openjpa-integration + 0.9.7-incubating-SNAPSHOT + + + + + + maven-antrun-plugin + + + run-tck + integration-test + + + Running Sun JPA 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 patch ${tck.patch} 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=WARN +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=${cp.property} +persistence.unit.properties.file.full.path=${openjpa.properties} +database.user=${db.username} +database.passwd=${db.password} +database.url=${db.url} +database.driver=${db.driver} + + + + + + + + + AGENT: ${agent} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Some tests failed + + + + run + + + + + + + + + org.apache.openjpa + openjpa-all + ${pom.version} + + + org.apache.derby + derby + 10.2.1.6 + compile + + + + diff --git a/pom.xml b/pom.xml index 5a75ddd18..cdc5f0068 100644 --- a/pom.xml +++ b/pom.xml @@ -103,6 +103,7 @@ openjpa-xmlstore openjpa-all openjpa-project + openjpa-integration