From 534892a4ada1c8029f1354c23060d50de459e554 Mon Sep 17 00:00:00 2001 From: Donald Woods Date: Wed, 28 Jul 2010 19:24:33 +0000 Subject: [PATCH] OPENJPA-1712 Upgrade builds to use Nexus repo - step 1. Now use 'mvn deploy -Papache-release' to publish signed artifacts to the Nexus repo. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@980170 13f79535-47bb-0310-9956-ffa450edef68 --- openjpa-project/pom.xml | 6 +- openjpa-project/upload.xml | 10 +- pom.xml | 194 ++++++++++++++++++++++++------------- 3 files changed, 135 insertions(+), 75 deletions(-) diff --git a/openjpa-project/pom.xml b/openjpa-project/pom.xml index 22a81cef3..fa9112bfe 100644 --- a/openjpa-project/pom.xml +++ b/openjpa-project/pom.xml @@ -386,7 +386,7 @@ - + @@ -406,12 +406,12 @@ org.apache.openjpa openjpa - ${pom.version} + ${project.version} org.apache.openjpa openjpa-all - ${pom.version} + ${project.version} diff --git a/openjpa-project/upload.xml b/openjpa-project/upload.xml index 0ce1fb736..e2fd859c5 100644 --- a/openjpa-project/upload.xml +++ b/openjpa-project/upload.xml @@ -55,17 +55,17 @@ - - + + - + - + - + diff --git a/pom.xml b/pom.xml index 179f7ce51..672cda111 100644 --- a/pom.xml +++ b/pom.xml @@ -35,6 +35,7 @@ pom OpenJPA Parent POM Apache OpenJPA implementation of JSR-317 JPA 2.0 + 512m 1024m @@ -74,19 +76,6 @@ 1.6.1 - - - Apache Software License 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - Apache Software Foundation - http://www.apache.org - - http://openjpa.apache.org @@ -121,18 +110,9 @@ - - local-repository - scp://people.apache.org/home/${user.name}/public_html/openjpa/${pom.version}/staging-repo - - - local-repository - scp://people.apache.org/home/${user.name}/public_html/openjpa/${pom.version}/staging-repo - false - people.apache.org - scp://people.apache.org/home/${user.name}/public_html/openjpa/${pom.version}/staging-site + ${site.deploy.url} @@ -163,15 +143,7 @@ - release - - - release - - - - openjpa-project - + apache-release @@ -255,7 +227,7 @@ false deploy site site-deploy - -Prelease,docbook-profile,test-derby -DskipTests=true + -Papache-release,docbook-profile,test-derby -DskipTests=true true @@ -356,7 +328,6 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.2 process-classes @@ -747,29 +718,71 @@ org.apache.maven.plugins maven-compiler-plugin - 2.1 1.5 1.5 + ${project.build.sourceEncoding} org.apache.maven.plugins maven-jar-plugin - 2.3 true true + + ${buildNumber} + JSR-330 Java Persistence API + Sun Microsystems, Inc. + 2.0 + + + org.apache.maven.plugins + maven-javadoc-plugin + + ${project.build.sourceEncoding} + + + + attach-javadocs + 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 + + + + + org.apache.maven.plugins maven-surefire-plugin - 2.4.3 + 2.5 ${surefire.jvm.args} false @@ -777,6 +790,33 @@ true + + org.apache.maven.plugins + maven-surefire-report-plugin + 2.5 + + + org.codehaus.mojo + findbugs-maven-plugin + 2.3.1 + + + org.codehaus.mojo + buildnumber-maven-plugin + 1.0-beta-4 + + true + offline + + + + validate + + create + + + + org.apache.rat apache-rat-plugin @@ -789,6 +829,40 @@ + + false + 0 + + + **/.*/** + **/target/**/* + + + + **/src/**/*.bat + **/src/**/*.css + **/src/**/*.html + **/src/**/*.java + **/src/**/*.js + **/src/**/*.jsp + **/src/**/*.properties + **/src/**/*.sh + **/src/**/*.txt + **/src/**/*.vm + **/src/**/*.xml + + + + + + org.apache.maven.plugins + maven-release-plugin + + false + deploy site site-deploy + -Papache-release,docbook-profile,test-derby -DskipTests=true + true + org.apache.maven.plugins @@ -868,6 +942,17 @@ org.codehaus.mojo ianal-maven-plugin 1.0-alpha-1 + + + + verify-legal-files + + + + true + + + org.apache.maven.plugins @@ -943,17 +1028,10 @@ org.codehaus.mojo ianal-maven-plugin - - - - verify-legal-files - - - - true - - - + + + org.codehaus.mojo + buildnumber-maven-plugin org.apache.maven.plugins @@ -999,24 +1077,6 @@ org.apache.rat apache-rat-plugin - - false - 0 - - - **/src/**/*.bat - **/src/**/*.css - **/src/**/*.html - **/src/**/*.java - **/src/**/*.js - **/src/**/*.jsp - **/src/**/*.properties - **/src/**/*.sh - **/src/**/*.txt - **/src/**/*.vm - **/src/**/*.xml - -