install jar built from ant task into local maven repository
问题 This is the command I want to run at the end of my Ant script: mvn install:install-file -Dfile=C:\dev\common\somejar.jar -DgroupId=com.myco.gt -DartifactId=somejar-Dversion=1.0.0 -Dpackaging=jar -DgeneratePOM=true If I enter the following target at the end of my Ant script: <target name='install_mvn_dependencies' depends='build_jars'> <exec executable="mvn"> <arg value="install:install-file"/> <arg value="-Dfile=c:\dev\common\somejar.jar"/> <arg value ="-DgroupId=com.myco.gt"/> <arg value="