SWF-1446 Make it easy to install Maven-central style dependencies locally

This commit is contained in:
Rossen Stoyanchev
2011-01-24 11:14:29 +00:00
parent e4cd0e0bb6
commit 2f1ed2015f
9 changed files with 54 additions and 8 deletions

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="publish-bundle" xmlns:ivy="antlib:org.apache.ivy.ant" xmlns:maven="antlib:org.apache.maven.artifact.ant">
<target name="publish-maven-central-local" depends="maven.init">
<property name="maven.central.repository" value="s3://maven.springframework.org/${adjusted.release.type}"/>
<maven:install file="${jar.output.file}">
<pom file="${local.pom.output.file}"/>
<attach file="${source-jar.output.file}" classifier="sources"/>
</maven:install>
</target>
</project>

View File

@@ -29,5 +29,9 @@
toFile="${adjusted.release.type}/${project.key}/${package.basename}-with-dependencies.zip.sha1" publicRead="true"/>
</aws:s3>
</target>
<target name="publish-maven-central-local">
<all-bundles target="publish-maven-central-local"/>
</target>
</project>