From a80cb4f6e9b5a3465947a9c8437f156a2ab93ae9 Mon Sep 17 00:00:00 2001 From: Mark Pollack Date: Mon, 30 Mar 2009 17:41:26 +0000 Subject: [PATCH] maven deployment script development --- build-spring-framework/generate-pom.xml | 15 ----- build-spring-framework/package-bundle.xml | 2 + build-spring-framework/package-library.xml | 2 + build-spring-framework/publish-maven.xml | 69 +++++++++++++++++++ build-spring-framework/publish.xml | 46 +++++++++++++ org.springframework.spring-library/pom.xml | 73 +++++++++++++++++++++ org.springframework.spring-parent/build.xml | 13 ---- org.springframework.spring-parent/pom.xml | 10 +-- 8 files changed, 197 insertions(+), 33 deletions(-) create mode 100644 build-spring-framework/publish-maven.xml create mode 100644 build-spring-framework/publish.xml create mode 100644 org.springframework.spring-library/pom.xml diff --git a/build-spring-framework/generate-pom.xml b/build-spring-framework/generate-pom.xml index e7d4b8201d2..d1bd4cccbed 100644 --- a/build-spring-framework/generate-pom.xml +++ b/build-spring-framework/generate-pom.xml @@ -6,7 +6,6 @@ - - - - diff --git a/build-spring-framework/package-bundle.xml b/build-spring-framework/package-bundle.xml index ab9407375f2..d4bb68ee476 100644 --- a/build-spring-framework/package-bundle.xml +++ b/build-spring-framework/package-bundle.xml @@ -1,6 +1,8 @@ + + diff --git a/build-spring-framework/package-library.xml b/build-spring-framework/package-library.xml index b42f3219186..c1630ece640 100644 --- a/build-spring-framework/package-library.xml +++ b/build-spring-framework/package-library.xml @@ -1,6 +1,8 @@ + + diff --git a/build-spring-framework/publish-maven.xml b/build-spring-framework/publish-maven.xml new file mode 100644 index 00000000000..f8c9eb0d23c --- /dev/null +++ b/build-spring-framework/publish-maven.xml @@ -0,0 +1,69 @@ + + + + + This build file publishes to a maven repository and two ways. + 1. Publish jar, source-jar, and pom artifacts. + 2. Publish only the pom artifact. + The additional complexity in the implementation is due to a bug in the maven ant tasks version 2.0.8 that + prevents deploying to a local file repository on windows. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build-spring-framework/publish.xml b/build-spring-framework/publish.xml new file mode 100644 index 00000000000..753e2ce1554 --- /dev/null +++ b/build-spring-framework/publish.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.springframework.spring-library/pom.xml b/org.springframework.spring-library/pom.xml new file mode 100644 index 00000000000..108399a44a8 --- /dev/null +++ b/org.springframework.spring-library/pom.xml @@ -0,0 +1,73 @@ + + + 4.0.0 + org.springframework + spring + 3.0.0.BUILD-SNAPSHOT + pom + Spring Framework + + + ../org.springframework.spring-parent + ../org.springframework.instrument + ../org.springframework.instrument.classloading + ../org.springframework.asm + ../org.springframework.core + ../org.springframework.expression + ../org.springframework.core + ../org.springframework.beans + ../org.springframework.aop + ../org.springframework.context + ../org.springframework.transaction + ../org.springframework.oxm + ../org.springframework.jms + ../org.springframework.aspects + ../org.springframework.jdbc + ../org.springframework.web + ../org.springframework.orm + ../org.springframework.context.support + ../org.springframework.web.portlet + ../org.springframework.web.servlet + ../org.springframework.test + + + http://www.springframework.org + + SpringSource + http://www.springsource.com + + + Spring Framework + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + staging + + + staging + file:${maven.local.staging.repository} + + + staging + file:${maven.local.staging.repository} + + + staging + file:${maven.local.staging.repository} + + + + + + + diff --git a/org.springframework.spring-parent/build.xml b/org.springframework.spring-parent/build.xml index f15ea33c05d..be24b7216eb 100644 --- a/org.springframework.spring-parent/build.xml +++ b/org.springframework.spring-parent/build.xml @@ -5,17 +5,4 @@ - - - - - - - - - - - diff --git a/org.springframework.spring-parent/pom.xml b/org.springframework.spring-parent/pom.xml index 4b7b9a836a2..05e469812e9 100644 --- a/org.springframework.spring-parent/pom.xml +++ b/org.springframework.spring-parent/pom.xml @@ -6,9 +6,9 @@ org.springframework spring-parent pom - Spring Framework + Spring Framework Parent 3.0.0.BUILD-SNAPSHOT - Spring Framework + Spring Framework Parent @@ -98,15 +98,15 @@ staging - file:${maven.local.staging.repository} + file:${maven.local.staging.repository} staging - file:${maven.local.staging.repository} + file:${maven.local.staging.repository} staging - file:${maven.local.staging.repository} + file:${maven.local.staging.repository}