Author: thomas.diesler(a)jboss.com
Date: 2008-05-08 09:09:51 -0400 (Thu, 08 May 2008)
New Revision: 6972
Modified:
stack/native/trunk/build.xml
Log:
Add -Dmaven.opts=-U
Modified: stack/native/trunk/build.xml
===================================================================
--- stack/native/trunk/build.xml 2008-05-08 13:09:45 UTC (rev 6971)
+++ stack/native/trunk/build.xml 2008-05-08 13:09:51 UTC (rev 6972)
@@ -92,28 +92,28 @@
<target name="prepare-deploy" depends="prepare">
- <echo message="**********************************"/>
- <echo message="* mvn package assembly:directory *"/>
- <echo message="**********************************"/>
+ <!-- Use a system property to overwrite the empty default value -->
+ <property name="maven.opts" value=""/>
+ <echo/>
+ <echo message="mvn ${maven.opts} package assembly:directory"/>
+ <echo/>
+
<delete dir="${deploy.artifacts.dir}"/>
<exec dir="${basedir}" executable="mvn"
failonerror="true">
- <arg value="package"/>
- <arg value="assembly:directory"/>
+ <arg line="${maven.opts} package assembly:directory"/>
</exec>
</target>
<target name="build-bin-dist" depends="prepare-deploy"
description="Build the binary distribution">
- <echo message="********************************************"/>
- <echo message="* mvn -Pbindist package assembly:directory *"/>
- <echo message="********************************************"/>
+ <echo/>
+ <echo message="mvn ${maven.opts} -Pbindist package
assembly:directory"/>
+ <echo/>
<delete dir="${stack.output.dir}/jbossws-native-dist"/>
<exec dir="${basedir}" executable="mvn"
failonerror="true">
- <arg value="-Pbindist"/>
- <arg value="package"/>
- <arg value="assembly:directory"/>
+ <arg line="${maven.opts} -Pbindist package assembly:directory"/>
</exec>
</target>
Show replies by date