Commit 7e5cb79e authored by Ivo Anjo's avatar Ivo Anjo

Add ant target to deploy jar to local maven repository

parent 0dec535a
......@@ -277,6 +277,13 @@
</zip>
</target>
<target name="mvn-local-install" depends="jar" description="Deploys the javartm jar to local maven repository">
<!-- TODO: Better alternative would be using https://maven.apache.org/ant-tasks/index.html -->
<exec executable="mvn">
<arg line="install:install-file -Dfile=${jar.file} -Dversion=${dist.version} -DgroupId=javartm -DartifactId=javartm -Dpackaging=jar"/>
</exec>
</target>
<!-- aliases -->
<target name="main" depends="build"/>
<target name="compile" depends="build"/>
......
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