diff --git a/openjpa-all/pom.xml b/openjpa-all/pom.xml index c7ee9cf00..f235874ce 100644 --- a/openjpa-all/pom.xml +++ b/openjpa-all/pom.xml @@ -36,35 +36,40 @@ jar OpenJPA Aggregate Jar with Dependencies + + + + org.apache.openjpa + openjpa + ${project.version} + + + + commons-logging + commons-logging + + + org.apache.maven.plugins maven-javadoc-plugin - - - attach-javadocs - none - - jar - - - - - + + true + + + org.apache.maven.plugins maven-source-plugin - - - attach-sources - none - - + + false + org.apache.maven.plugins @@ -127,21 +133,4 @@ - - - - - org.apache.openjpa - openjpa - ${project.version} - - - - commons-logging - commons-logging - - diff --git a/openjpa-integration/pom.xml b/openjpa-integration/pom.xml index dad5c7964..0974b955d 100644 --- a/openjpa-integration/pom.xml +++ b/openjpa-integration/pom.xml @@ -45,19 +45,13 @@ - + org.apache.maven.plugins maven-javadoc-plugin - - - attach-javadocs - none - - jar - - - + + true + diff --git a/openjpa-integration/validation/pom.xml b/openjpa-integration/validation/pom.xml index 0bbacb400..fa6626bc2 100644 --- a/openjpa-integration/validation/pom.xml +++ b/openjpa-integration/validation/pom.xml @@ -181,7 +181,7 @@ org.apache.openjpa - openjpa-testsupport + openjpa-persistence-jdbc ${project.version} test-jar test @@ -205,6 +205,33 @@ + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack + test-compile + + unpack + + + + + org.apache.openjpa + openjpa-persistence-jdbc + ${project.version} + test-jar + ${project.build.testOutputDirectory} + org/apache/openjpa/persistence/test/*.class + + + + + + + org.apache.maven.plugins maven-antrun-plugin diff --git a/openjpa-persistence-locking/pom.xml b/openjpa-persistence-locking/pom.xml index 4df80cca7..9537d7f4c 100644 --- a/openjpa-persistence-locking/pom.xml +++ b/openjpa-persistence-locking/pom.xml @@ -692,7 +692,7 @@ org.apache.openjpa - openjpa-testsupport + openjpa-persistence-jdbc ${project.version} test-jar test @@ -720,16 +720,38 @@ org.apache.maven.plugins maven-javadoc-plugin + + true + + + + + + org.apache.maven.plugins + maven-dependency-plugin - attach-javadocs - none + unpack + test-compile - jar + unpack + + + + org.apache.openjpa + openjpa-persistence-jdbc + ${project.version} + test-jar + ${project.build.testOutputDirectory} + org/apache/openjpa/persistence/test/*.class + + + + org.apache.maven.plugins maven-antrun-plugin diff --git a/openjpa-testsupport/pom.xml b/openjpa-testsupport/pom.xml deleted file mode 100644 index b89a7d8ae..000000000 --- a/openjpa-testsupport/pom.xml +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - 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} - test - - - org.apache.openjpa - openjpa-persistence-jdbc - ${project.version} - test-jar - test - - - jakarta-regexp - jakarta-regexp - test - - - - - - - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - none - - jar - test-jar - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadocs - none - - javadoc - jar - aggregate - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack - test-compile - - unpack - - - - - org.apache.openjpa - openjpa-persistence-jdbc - ${project.version} - test-jar - true - ${project.build.testOutputDirectory} - - - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - default-jar - none - - jar - - - - attach-tests - - test-jar - - - - - 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 5d361c4f5..37f7b7744 100644 --- a/openjpa-xmlstore/pom.xml +++ b/openjpa-xmlstore/pom.xml @@ -50,7 +50,7 @@ org.apache.openjpa - openjpa-testsupport + openjpa-persistence-jdbc ${project.version} test-jar test @@ -59,6 +59,33 @@ + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack + test-compile + + unpack + + + + + org.apache.openjpa + openjpa-persistence-jdbc + ${project.version} + test-jar + ${project.build.testOutputDirectory} + org/apache/openjpa/persistence/test/*.class + + + + + + + org.codehaus.mojo diff --git a/openjpa/pom.xml b/openjpa/pom.xml index 97aacdcaa..c5a1b127e 100644 --- a/openjpa/pom.xml +++ b/openjpa/pom.xml @@ -41,30 +41,17 @@ org.apache.maven.plugins maven-javadoc-plugin - - - attach-javadocs - none - - jar - - - + + true + - - + org.apache.maven.plugins maven-source-plugin - - - attach-sources - none - - + + false + diff --git a/pom.xml b/pom.xml index 0e24d2188..ea420936b 100644 --- a/pom.xml +++ b/pom.xml @@ -123,7 +123,6 @@ openjpa-jdbc openjpa-persistence openjpa-persistence-jdbc - openjpa-testsupport openjpa-persistence-locking openjpa-xmlstore openjpa-slice @@ -183,27 +182,6 @@ - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadocs - - jar - - - - - @@ -254,7 +232,7 @@ javadoc-profile @@ -263,14 +241,6 @@ org.apache.maven.plugins maven-javadoc-plugin - - - attach-javadocs - - jar - - - @@ -615,6 +585,20 @@ + install + + + + src/main/resources + + + + + + src/test/resources + + + @@ -786,23 +770,38 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.5 ${project.build.sourceEncoding} - package - true - 1.5 - - ${javadoc.additionalparam} - - org.apache.openjpa - 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 - + + + attach-javadoc + package + + jar + + + + 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 + + + + @@ -918,35 +917,15 @@ org.apache.maven.plugins maven-project-info-reports-plugin 2.1.1 - - - - jdepend-maven-plugin - surefire-report-maven-plugin - maven-javadoc-plugin - mailing-list - issue-tracking - license - - - - org.codehaus.mojo jdepend-maven-plugin 2.0-beta-2 - - org.apache.maven.plugins - maven-surefire-report-plugin - 2.6 - - - org.codehaus.mojo - taglist-maven-plugin - 2.4 - - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.2 - - ${checkstyle.config.location} - true - **/*_.java - -