diff --git a/openjpa-all/pom.xml b/openjpa-all/pom.xml
index 1f160e00e..9b2acfe2c 100644
--- a/openjpa-all/pom.xml
+++ b/openjpa-all/pom.xml
@@ -52,6 +52,20 @@
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+
+
+ attach-tests
+ none
+
+
+
org.apache.maven.plugins
@@ -108,7 +122,7 @@
org.apache.openjpa
openjpa
- ${pom.version}
+ ${project.version}
diff --git a/openjpa-examples/image-gallery/pom.xml b/openjpa-examples/image-gallery/pom.xml
index e472cf14a..7c0eb8fcd 100644
--- a/openjpa-examples/image-gallery/pom.xml
+++ b/openjpa-examples/image-gallery/pom.xml
@@ -51,40 +51,15 @@
openjpa-all
${project.version}
-
- org.apache.derby
- derby
- test
-
-
- junit
- junit
- test
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
- 2.3
-
-
-
- true
- true
-
-
-
-
org.apache.maven.plugins
maven-surefire-plugin
- 2.4.3
${surefire.jvm.args}
false
@@ -94,6 +69,7 @@
+
diff --git a/openjpa-examples/simple/pom.xml b/openjpa-examples/simple/pom.xml
index 09e638143..9b94da068 100644
--- a/openjpa-examples/simple/pom.xml
+++ b/openjpa-examples/simple/pom.xml
@@ -48,21 +48,6 @@
openjpa-all
${project.version}
-
- org.apache.derby
- derby
- test
-
-
- commons-dbcp
- commons-dbcp
- test
-
-
- commons-collections
- commons-collections
- test
-
diff --git a/openjpa-integration/daytrader/pom.xml b/openjpa-integration/daytrader/pom.xml
index ecfb9281f..522ba006f 100644
--- a/openjpa-integration/daytrader/pom.xml
+++ b/openjpa-integration/daytrader/pom.xml
@@ -47,8 +47,8 @@
org.apache.openjpa
- openjpa
- ${pom.version}
+ openjpa-all
+ ${project.version}
org.apache.openjpa
- openjpa-persistence-jdbc
- ${pom.version}
- tests
- test
-
-
- commons-dbcp
- commons-dbcp
- test
-
-
- commons-logging
- commons-logging
- test
-
-
- org.apache.derby
- derby
- ${derby.version}
+ openjpa-testsupport
+ ${project.version}
+ test-jar
test
@@ -94,19 +78,6 @@
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
- attach-tests
-
- test-jar
-
-
-
-
-
org.apache.openjpa
- openjpa
- ${pom.version}
+ openjpa-persistence-jdbc
+ ${project.version}
diff --git a/openjpa-integration/examples/pom.xml b/openjpa-integration/examples/pom.xml
index 39a200968..216da4899 100644
--- a/openjpa-integration/examples/pom.xml
+++ b/openjpa-integration/examples/pom.xml
@@ -70,7 +70,7 @@
-
+
@@ -100,7 +100,7 @@
org.apache.openjpa
openjpa-all
- ${pom.version}
+ ${project.version}
diff --git a/openjpa-integration/jmx/pom.xml b/openjpa-integration/jmx/pom.xml
index b1f354cea..b89179941 100644
--- a/openjpa-integration/jmx/pom.xml
+++ b/openjpa-integration/jmx/pom.xml
@@ -52,26 +52,10 @@
openjpa-all
${project.version}
-
- commons-dbcp
- commons-dbcp
- test
-
-
- org.apache.derby
- derby
- test
-
-
- junit
- junit
- test
-
org.apache.openjpa
- openjpa-persistence-jdbc
+ openjpa-testsupport
${project.version}
-
test-jar
test
@@ -148,18 +132,6 @@
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
- attach-tests
-
- test-jar
-
-
-
-
diff --git a/openjpa-integration/slf4j/pom.xml b/openjpa-integration/slf4j/pom.xml
index 2562a5be8..0934d3343 100644
--- a/openjpa-integration/slf4j/pom.xml
+++ b/openjpa-integration/slf4j/pom.xml
@@ -53,44 +53,20 @@
org.apache.openjpa
- openjpa-persistence-jdbc
+ openjpa-all
${project.version}
org.apache.openjpa
- openjpa-persistence-jdbc
+ openjpa-testsupport
${project.version}
-
test-jar
test
-
- commons-dbcp
- commons-dbcp
- test
-
-
- org.apache.derby
- derby
- test
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
- attach-tests
-
- test-jar
-
-
-
-
-
@@ -141,17 +141,11 @@
org.apache.openjpa
- openjpa-persistence-jdbc
- ${pom.version}
-
+ openjpa-testsupport
+ ${project.version}
test-jar
test
-
- org.apache.derby
- derby
- test
-
jakarta-regexp
jakarta-regexp
@@ -161,18 +155,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 0197653c2..3e215153d 100644
--- a/openjpa-jdbc/pom.xml
+++ b/openjpa-jdbc/pom.xml
@@ -40,7 +40,7 @@
org.apache.openjpa
openjpa-kernel
- ${pom.version}
+ ${project.version}
javax.xml.bind
@@ -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-kernel/pom.xml b/openjpa-kernel/pom.xml
index 2364817db..608fc0f3b 100644
--- a/openjpa-kernel/pom.xml
+++ b/openjpa-kernel/pom.xml
@@ -40,7 +40,7 @@
org.apache.openjpa
openjpa-lib
- ${pom.version}
+ ${project.version}
org.apache.geronimo.specs
diff --git a/openjpa-lib/pom.xml b/openjpa-lib/pom.xml
index a1f7ea3ae..23844b675 100644
--- a/openjpa-lib/pom.xml
+++ b/openjpa-lib/pom.xml
@@ -140,34 +140,6 @@ openjpa.enhancer.revision=${pcenhancer.LastChangedRev}
-
- 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 3de0b09a0..94876ca45 100644
--- a/openjpa-persistence-jdbc/pom.xml
+++ b/openjpa-persistence-jdbc/pom.xml
@@ -683,12 +683,12 @@
org.apache.openjpa
openjpa-jdbc
- ${pom.version}
+ ${project.version}
org.apache.openjpa
openjpa-persistence
- ${pom.version}
+ ${project.version}
commons-dbcp
@@ -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 9ea8389eb..c490756f9 100644
--- a/openjpa-persistence-locking/pom.xml
+++ b/openjpa-persistence-locking/pom.xml
@@ -688,13 +688,12 @@
org.apache.openjpa
openjpa-persistence-jdbc
- ${pom.version}
+ ${project.version}
org.apache.openjpa
- openjpa-persistence-jdbc
- ${pom.version}
-
+ openjpa-testsupport
+ ${project.version}
test-jar
test
@@ -740,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 7accef798..ac30af5b5 100644
--- a/openjpa-persistence/pom.xml
+++ b/openjpa-persistence/pom.xml
@@ -40,7 +40,7 @@
org.apache.openjpa
openjpa-kernel
- ${pom.version}
+ ${project.version}
org.apache.geronimo.specs
@@ -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 7e9a05bc9..1f079d5fa 100644
--- a/openjpa-slice/pom.xml
+++ b/openjpa-slice/pom.xml
@@ -40,12 +40,12 @@
org.apache.openjpa
openjpa-kernel
- ${pom.version}
+ ${project.version}
org.apache.openjpa
openjpa-jdbc
- ${pom.version}
+ ${project.version}
org.apache.geronimo.specs
@@ -55,13 +55,13 @@
org.apache.openjpa
openjpa-persistence
- ${pom.version}
+ ${project.version}
test
org.apache.openjpa
openjpa-persistence-jdbc
- ${pom.version}
+ ${project.version}
tests
test
@@ -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..e5afbc591
--- /dev/null
+++ b/openjpa-testsupport/pom.xml
@@ -0,0 +1,117 @@
+
+
+
+
+
+ 4.0.0
+
+
+ org.apache.openjpa
+ openjpa-parent
+ 2.1.0-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 667f3b27e..f11103869 100644
--- a/openjpa-xmlstore/pom.xml
+++ b/openjpa-xmlstore/pom.xml
@@ -40,13 +40,18 @@
org.apache.openjpa
openjpa-kernel
- ${pom.version}
+ ${project.version}
org.apache.openjpa
openjpa-persistence-jdbc
- ${pom.version}
-
+ ${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
@@ -103,11 +79,11 @@
+
org.apache.openjpa
-
openjpa-persistence-jdbc
- ${pom.version}
+ ${project.version}
diff --git a/openjpa/pom.xml b/openjpa/pom.xml
index 0bea43e2d..bd46f148c 100644
--- a/openjpa/pom.xml
+++ b/openjpa/pom.xml
@@ -129,17 +129,17 @@
org.apache.openjpa
openjpa-lib
- ${pom.version}
+ ${project.version}
org.apache.openjpa
openjpa-kernel
- ${pom.version}
+ ${project.version}
org.apache.openjpa
openjpa-jdbc
- ${pom.version}
+ ${project.version}
+
+
- org.apache.maven.plugins
- maven-antrun-plugin
-
-
- javadoc.resources
- package
-
- run
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-assembly-plugin
-
-
- org.apache.apache.resources
- apache-source-release-assembly-descriptor
- 1.0.2
-
-
-
-
- source-release-assembly
- package
-
- single
-
-
- true
-
- ${sourceReleaseAssemblyDescriptor}
-
- gnu
-
-
-
-
-
- true
- org.apache.maven.plugins
- maven-gpg-plugin
-
-
- true
- org.apache.maven.plugins
- maven-deploy-plugin
-
- true
-
-
-
- true
- org.apache.maven.plugins
- maven-source-plugin
-
-
- attach-sources
-
- jar
-
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
-
- ${project.build.sourceEncoding}
-
-
-
- attach-javadoc
- package
-
- jar
-
-
-
- process-javadoc
- process-classes
-
- javadoc
-
-
-
- ${javadoc.additionalparam}
-
- true
- org.apache.openjpa
- false
- 512m
-
- http://java.sun.com/j2se/1.5.0/docs/api
- http://java.sun.com/javaee/6/docs/api
- http://jakarta.apache.org/commons/collections/api-release
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-release-plugin
-
- false
- deploy site site-deploy
- -Papache-release,docbook-profile,test-derby -DskipTests=true
- true
-
-
-
- org.apache.rat
- apache-rat-plugin
-
- false
- 0
-
-
- **/javax.persistence.spi.PersistenceProvider
- **/javax.annotation.processing.Processor
-
- **/*.rsrc
-
- **/org.apache.openjpa.revision.properties
- scripts/*.list
- scripts/*.options
- scripts/*.dict
-
- **/.*/**
- **/target/**/*
- **/dependency-reduced-pom.xml
- **/*.log
- **/maven-eclipse.xml
- **/rat.txt
-
- **/internal-repository/**
-
-
-
-
-
+ -->
sign-release
@@ -365,28 +205,6 @@
org.apache.maven.plugins
maven-javadoc-plugin
-
-
- process-classes
- javadoc
-
-
- ${javadoc.additionalparam}
-
- true
- org.apache.openjpa
-
- false
-
- 512m
-
- http://java.sun.com/j2se/1.5.0/docs/api
- http://java.sun.com/javaee/6/docs/api
- http://jakarta.apache.org/commons/collections/api-release
-
-
-
-
@@ -764,33 +582,17 @@
+
org.apache.maven.plugins
maven-compiler-plugin
+ 2.1
1.5
${project.build.sourceEncoding}
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
- true
- true
-
-
- ${buildNumber}
- JSR-317 Java Persistence API
- Sun Microsystems, Inc.
- 2.0
-
-
-
-
org.apache.maven.plugins
maven-javadoc-plugin
@@ -882,24 +684,28 @@
false
0
+
+ **/javax.persistence.spi.PersistenceProvider
+ **/javax.annotation.processing.Processor
+
+ **/*.rsrc
+
+ **/org.apache.openjpa.revision.properties
+ scripts/*.list
+ scripts/*.options
+ scripts/*.dict
**/.*/**
**/target/**/*
+ **/dependency-reduced-pom.xml
+ **/*.log
+ **/maven-eclipse.xml
+ **/rat.txt
+ release.properties
+ DEPENDENCIES
+
+ **/internal-repository/**
-
-
- **/src/**/*.bat
- **/src/**/*.css
- **/src/**/*.html
- **/src/**/*.java
- **/src/**/*.js
- **/src/**/*.jsp
- **/src/**/*.properties
- **/src/**/*.sh
- **/src/**/*.txt
- **/src/**/*.vm
- **/src/**/*.xml
-
@@ -909,25 +715,10 @@
false
deploy site site-deploy
- -Papache-release,docbook-profile,test-derby -DskipTests=true
+ -Papache-release,docbook-profile,test-derby -DskipTests
true
-
- org.apache.maven.plugins
- maven-resources-plugin
- 2.4.2
-
-
- org.apache.maven.plugins
- maven-site-plugin
- 2.0.1
-
-
- org.apache.maven.plugins
- maven-assembly-plugin
- 2.2-beta-5
-
org.apache.maven.plugins
maven-antrun-plugin
@@ -940,62 +731,11 @@
-
- org.apache.maven.plugins
- maven-gpg-plugin
- 1.0
-
-
- sign-artifacts
- install
-
- sign
-
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- 2.6.1
-
-
- org.apache.maven.plugins
- maven-release-plugin
- 2.0
-
-
- org.apache.maven.plugins
- maven-source-plugin
- 2.1.1
-
-
- org.apache.maven.plugins
- maven-project-info-reports-plugin
- 2.1.2
-
org.codehaus.mojo
taglist-maven-plugin
2.3
-
- org.apache.maven.plugins
- maven-remote-resources-plugin
- 1.0
-
-
-
- process
-
-
-
- org.apache:apache-jar-resource-bundle:1.4
-
-
-
-
-
org.codehaus.mojo
ianal-maven-plugin
@@ -1029,6 +769,34 @@
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+
+
+ default-jar
+
+ jar
+
+
+
+
+ true
+
+
+ ${buildNumber}
+
+
+
+
+
+ attach-tests
+
+ test-jar
+
+
+
+
org.apache.felix
maven-bundle-plugin
@@ -1042,11 +810,6 @@
-
- org.apache.maven.plugins
- maven-enforcer-plugin
- 1.0-beta-1
-
org.codehaus.mojo
openjpa-maven-plugin
@@ -1065,10 +828,6 @@
org.apache.maven.plugins
maven-compiler-plugin
-
- org.apache.maven.plugins
- maven-remote-resources-plugin
-
org.apache.maven.plugins
maven-source-plugin
@@ -1136,43 +895,6 @@
org.apache.rat
apache-rat-plugin
-
-
@@ -1181,6 +903,7 @@
org.apache.maven.plugins
maven-project-info-reports-plugin
+ 2.1.1
@@ -1195,6 +918,18 @@
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+
+
+
+ javadoc
+ test-javadoc
+
+
+
+
org.apache.maven.plugins
maven-surefire-plugin