diff --git a/openjpa-integration/daytrader/pom.xml b/openjpa-integration/daytrader/pom.xml index 096b1d2d6..3145b01c3 100644 --- a/openjpa-integration/daytrader/pom.xml +++ b/openjpa-integration/daytrader/pom.xml @@ -94,20 +94,6 @@ - - org.apache.maven.plugins - maven-jar-plugin - - - attach-tests - verify - - test-jar - - - - - test-jar test @@ -185,18 +184,6 @@ - - org.apache.maven.plugins - maven-jar-plugin - - - attach-tests - - test-jar - - - - org.apache.maven.plugins maven-antrun-plugin diff --git a/openjpa-jdbc/pom.xml b/openjpa-jdbc/pom.xml index e27bd3958..4e3d8476f 100644 --- a/openjpa-jdbc/pom.xml +++ b/openjpa-jdbc/pom.xml @@ -81,37 +81,4 @@ test - - - - - org.apache.maven.plugins - maven-jar-plugin - - - default-jar - - jar - - - - - true - - - ${buildNumber} - - - - - - attach-tests - - test-jar - - - - - - diff --git a/openjpa-lib/pom.xml b/openjpa-lib/pom.xml index b49775c01..668471fe7 100644 --- a/openjpa-lib/pom.xml +++ b/openjpa-lib/pom.xml @@ -120,34 +120,6 @@ openjpa.version=${project.version} - - org.apache.maven.plugins - maven-jar-plugin - - - default-jar - - jar - - - - - true - - - ${buildNumber} - - - - - - attach-tests - - test-jar - - - - diff --git a/openjpa-persistence-jdbc/pom.xml b/openjpa-persistence-jdbc/pom.xml index 820d3dd3d..6d799cb54 100644 --- a/openjpa-persistence-jdbc/pom.xml +++ b/openjpa-persistence-jdbc/pom.xml @@ -750,58 +750,6 @@ - - - org.apache.maven.plugins - maven-jar-plugin - - - default-jar - - jar - - - - - true - - - ${buildNumber} - - - - - - test-base-jar - - jar - - - test-base - ${project.build.testOutputDirectory} - - - **/org/apache/openjpa/persistence/test/*.class - META-INF/LICENSE* - META-INF/NOTICE* - META-INF/DISCLAIM* - - - - - attach-tests - - test-jar - - - - org.apache.maven.plugins maven-surefire-plugin diff --git a/openjpa-persistence-locking/pom.xml b/openjpa-persistence-locking/pom.xml index e6b42dfd3..b46c2e03f 100644 --- a/openjpa-persistence-locking/pom.xml +++ b/openjpa-persistence-locking/pom.xml @@ -692,12 +692,10 @@ org.apache.openjpa - openjpa-persistence-jdbc + openjpa-testsupport ${project.version} - test-jar test - true commons-dbcp @@ -741,18 +739,6 @@ - - org.apache.maven.plugins - maven-jar-plugin - - - attach-tests - - test-jar - - - - org.apache.maven.plugins maven-surefire-plugin diff --git a/openjpa-persistence/pom.xml b/openjpa-persistence/pom.xml index 93398cc6f..435761d2a 100644 --- a/openjpa-persistence/pom.xml +++ b/openjpa-persistence/pom.xml @@ -59,37 +59,4 @@ provided - - - - - org.apache.maven.plugins - maven-jar-plugin - - - default-jar - - jar - - - - - true - - - ${buildNumber} - - - - - - attach-tests - - test-jar - - - - - - diff --git a/openjpa-slice/pom.xml b/openjpa-slice/pom.xml index 10368ad30..2c24501d8 100644 --- a/openjpa-slice/pom.xml +++ b/openjpa-slice/pom.xml @@ -126,34 +126,6 @@ - - org.apache.maven.plugins - maven-jar-plugin - - - default-jar - - jar - - - - - true - - - ${buildNumber} - - - - - - attach-tests - - test-jar - - - - org.apache.maven.plugins maven-surefire-plugin diff --git a/openjpa-testsupport/pom.xml b/openjpa-testsupport/pom.xml new file mode 100644 index 000000000..4ae0d49ed --- /dev/null +++ b/openjpa-testsupport/pom.xml @@ -0,0 +1,117 @@ + + + + + + 4.0.0 + + + org.apache.openjpa + openjpa-parent + 2.0.1-SNAPSHOT + + + org.apache.openjpa + openjpa-testsupport + jar + OpenJPA Test Support Jar + + + + + org.apache.openjpa + openjpa-persistence-jdbc + ${project.version} + provided + + + + org.apache.openjpa + openjpa-persistence-jdbc + ${project.version} + test-jar + test + + + jakarta-regexp + jakarta-regexp + test + + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + extract-jar + test-compile + + run + + + + + + + + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + org/apache/openjpa/persistence/test/*.class + META-INF/LICENSE* + META-INF/NOTICE* + META-INF/persistence.xml + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + ** + + + + + + diff --git a/openjpa-xmlstore/pom.xml b/openjpa-xmlstore/pom.xml index 59441b52c..5d361c4f5 100644 --- a/openjpa-xmlstore/pom.xml +++ b/openjpa-xmlstore/pom.xml @@ -46,7 +46,12 @@ org.apache.openjpa openjpa-persistence-jdbc ${project.version} - + test + + + org.apache.openjpa + openjpa-testsupport + ${project.version} test-jar test @@ -54,35 +59,6 @@ - - org.apache.maven.plugins - maven-jar-plugin - - - default-jar - - jar - - - - - true - - - ${buildNumber} - - - - - - attach-tests - - test-jar - - - - - org.codehaus.mojo diff --git a/pom.xml b/pom.xml index 02f1b7192..897549378 100644 --- a/pom.xml +++ b/pom.xml @@ -123,6 +123,7 @@ openjpa-jdbc openjpa-persistence openjpa-persistence-jdbc + openjpa-testsupport openjpa-persistence-locking openjpa-xmlstore openjpa-slice