maven deployment script development

This commit is contained in:
Mark Pollack
2009-03-30 17:41:26 +00:00
parent f09f4e8dd2
commit a80cb4f6e9
8 changed files with 197 additions and 33 deletions

View File

@@ -5,17 +5,4 @@
<import file="${basedir}/../spring-build/library/default.xml"/>
<target name="publish-maven-central-pom-only" depends="maven.init">
<maven:deploy>
<remoteRepository url="${maven.central.repository}"/>
<!-- Due to http://jira.codehaus.org/browse/MANTTASKS-103 in 2.0.8 on windows, fixed in 2.0.9 -->
<!-- e.g. file:L:\temp\maven-repo-test -->
<!--
<remoteRepository id="localDisk" url="file:${maven.local.staging.repository}"/>
-->
<pom file="${local.pom.output.file}"/>
</maven:deploy>
</target>
</project>

View File

@@ -6,9 +6,9 @@
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifactId>
<packaging>pom</packaging>
<name>Spring Framework</name>
<name>Spring Framework Parent</name>
<version>3.0.0.BUILD-SNAPSHOT</version>
<description>Spring Framework</description>
<description>Spring Framework Parent</description>
<repositories>
@@ -98,15 +98,15 @@
<distributionManagement>
<site>
<id>staging</id>
<url>file:${maven.local.staging.repository}</url>
<url>file:${maven.local.staging.repository}</url>
</site>
<repository>
<id>staging</id>
<url>file:${maven.local.staging.repository}</url>
<url>file:${maven.local.staging.repository}</url>
</repository>
<snapshotRepository>
<id>staging</id>
<url>file:${maven.local.staging.repository}</url>
<url>file:${maven.local.staging.repository}</url>
</snapshotRepository>
</distributionManagement>
</profile>