SWF-1446 Make it easy to install Maven-central style dependencies locally
This commit is contained in:
12
build-spring-webflow/publish-artifact.xml
Normal file
12
build-spring-webflow/publish-artifact.xml
Normal 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>
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user