[jbossws-commits] JBossWS SVN: r13642 - stack/native/branches/jbossws-native-3.1.2.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Fri Jan 28 10:02:25 EST 2011


Author: alessio.soldano at jboss.com
Date: 2011-01-28 10:02:25 -0500 (Fri, 28 Jan 2011)
New Revision: 13642

Modified:
   stack/native/branches/jbossws-native-3.1.2/build.xml
Log:
[JBPAPP-5719] Adding maven.opts parameter to the effective settings call of the build; it's now possible to use maven.opts="-s my-settings.xml" for using a completely different mvn conf


Modified: stack/native/branches/jbossws-native-3.1.2/build.xml
===================================================================
--- stack/native/branches/jbossws-native-3.1.2/build.xml	2011-01-28 14:57:14 UTC (rev 13641)
+++ stack/native/branches/jbossws-native-3.1.2/build.xml	2011-01-28 15:02:25 UTC (rev 13642)
@@ -43,11 +43,12 @@
   </target>
 
   <target name="mvn-settings" depends="os-init">
+    <!-- Use a system property to overwrite the empty default value -->
+    <property name="maven.opts" value=""/>
     <!-- Loads the properties from the effective maven settings -->
     <mkdir dir="${stack.output.dir}"/>
     <exec dir="${basedir}" executable="${mvn}" failonerror="true">
-      <arg value="-Doutput=${stack.output.dir}/effective-settings.xml"/>
-      <arg value="help:effective-settings"/>
+      <arg line="${maven.opts} -Doutput=${stack.output.dir}/effective-settings.xml help:effective-settings"/>
     </exec>
     <xmlproperty file="${stack.output.dir}/effective-settings.xml" keeproot="false"/>
     <condition property="jboss510.home" value="${profiles.profile.properties.jboss510.home}">



More information about the jbossws-commits mailing list