build: `abcl.mvn.install` installs build artifacts into the local maven repository.

From Olof-Joachim Frahm.

Additional options for the relevant Maven plugin may be found at
<http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html>/
parent a01589d4
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="antlib:org.apache.tools.ant">
<target name="abcl.mvn.install"
depends="abcl.jar,abcl-contrib.jar"
description="Installs an ABCL snapshot directly into a local
repository via maven-install-plugin.">
<copy file="${abcl.jar.path}"
tofile="${dist.dir}/abcl-${abcl.version}.jar"/>
<exec executable="mvn" vmlauncher="false">
<arg line="install:install-file -DpomFile=pom.xml"/>
<arg prefix="-Dfile=" file="${dist.dir}/abcl-${abcl.version}.jar"/>
</exec>
<copy file="${abcl-contrib.jar}"
tofile="${dist.dir}/abcl-contrib-${abcl.version}.jar"/>
<exec executable="mvn" vmlauncher="false">
<arg line="install:install-file -DpomFile=contrib/pom.xml"/>
<arg prefix="-Dfile="
file="${dist.dir}/abcl-contrib-${abcl.version}.jar"/>
</exec>
</target>
</project>
......@@ -1109,6 +1109,8 @@ user.dir
<import file="not.org-build.xml" optional="true"/>
<import file="build-snapshot.xml" optional="true"/>
<import file="build-maven.xml" optional="true"/>
</project>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment