Author: sebb Date: Sun Feb 28 14:50:03 2010 New Revision: 917186 URL: http://svn.apache.org/viewvc?rev=917186&view=rev Log: Allow override of Maven path (props to jhm)
Modified: jakarta/bsf/branches/bsf3.x/bsf-engines/build.xml Modified: jakarta/bsf/branches/bsf3.x/bsf-engines/build.xml URL: http://svn.apache.org/viewvc/jakarta/bsf/branches/bsf3.x/bsf-engines/build.xml?rev=917186&r1=917185&r2=917186&view=diff ============================================================================== --- jakarta/bsf/branches/bsf3.x/bsf-engines/build.xml (original) +++ jakarta/bsf/branches/bsf3.x/bsf-engines/build.xml Sun Feb 28 14:50:03 2010 @@ -34,8 +34,8 @@ <!-- Install the bsf.engines jar into the local maven repo --> <target name="install-engines" depends="merge-engines"> - - <exec executable="mvn${maven.suffix}" dir="${basedir}" failonerror="true"> + <property name="mvn.path" value="" description="Allows override in case mvn is not on the default path"/> + <exec executable="${mvn.path}mvn${maven.suffix}" dir="${basedir}" failonerror="true"> <arg line="install:install-file -DgroupId=org.apache.bsf -DartifactId=bsf-engines -Dversion=${bsf.version} -Dpackaging=jar -DgeneratePom=true -Dfile=${basedir}/target/bsf-engines-${bsf.version}.jar"/> </exec> --------------------------------------------------------------------- To unsubscribe, e-mail: bsf-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: bsf-dev-h...@jakarta.apache.org