source: trunk/abcl/build-maven.xml @ 14606

Last change on this file since 14606 was 14606, checked in by Mark Evenson, 9 years ago

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>/

File size: 909 bytes
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="antlib:org.apache.tools.ant">
3
4  <target name="abcl.mvn.install"
5          depends="abcl.jar,abcl-contrib.jar"
6          description="Installs an ABCL snapshot directly into a local
7repository via maven-install-plugin.">
8
9    <copy file="${abcl.jar.path}"
10          tofile="${dist.dir}/abcl-${abcl.version}.jar"/>
11    <exec executable="mvn" vmlauncher="false">
12      <arg line="install:install-file -DpomFile=pom.xml"/>
13      <arg prefix="-Dfile=" file="${dist.dir}/abcl-${abcl.version}.jar"/>
14    </exec>
15
16    <copy file="${abcl-contrib.jar}"
17          tofile="${dist.dir}/abcl-contrib-${abcl.version}.jar"/>
18    <exec executable="mvn" vmlauncher="false">
19      <arg line="install:install-file -DpomFile=contrib/pom.xml"/>
20      <arg prefix="-Dfile="
21           file="${dist.dir}/abcl-contrib-${abcl.version}.jar"/>
22    </exec>
23
24  </target>
25
26</project>
Note: See TracBrowser for help on using the repository browser.