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 |
---|
7 | repository 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.