Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (28 sloc) 0.868 kb
<project>
<!-- create deployment POM for preparation -->
<macrodef name="prepare-pom">
<sequential>
<tstamp/>
<delete file="build/pom.xml"/> <!-- force replacement -->
<copy file="pom-for-deploy.xml" tofile="build/pom.xml">
<filterset>
<filter token="VERSION" value="${DSTAMP}"/>
</filterset>
</copy>
</sequential>
</macrodef>
<!-- deploy to maven repository -->
<macrodef name="deploy">
<attribute name="file"/>
<element name="args" optional="true"/>
<sequential>
<exec executable="mvn.bat" dir="build">
<arg value="deploy:deploy-file"/>
<arg value="-Dfile=@{file}"/>
<arg value="-DpomFile=pom.xml"/>
<arg value="-Durl=java-net:/maven2-repository/trunk/www/repository/" />
<args />
</exec>
</sequential>
</macrodef>
</project>
Jump to Line
Something went wrong with that request. Please try again.