Author: alessio.soldano(a)jboss.com
Date: 2011-01-28 10:05:00 -0500 (Fri, 28 Jan 2011)
New Revision: 13643
Modified:
stack/cxf/branches/jbossws-cxf-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/cxf/branches/jbossws-cxf-3.1.2/build.xml
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.2/build.xml 2011-01-28 15:02:25 UTC (rev 13642)
+++ stack/cxf/branches/jbossws-cxf-3.1.2/build.xml 2011-01-28 15:05:00 UTC (rev 13643)
@@ -47,11 +47,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}">
Show replies by date