bash$ cat sys1.env
-DZZ01=maven
-DZZ02=rocks

bash$ mvn $(<sys1.env) help:system | grep ZZ
ZZ02=rocks
ZZ01=maven
sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher
-DZZ01=maven -DZZ02=rocks help:system
MAVEN_CMD_LINE_ARGS= -DZZ01=maven -DZZ02=rocks help:system


On Tue, Sep 8, 2015 at 8:13 PM, Dan Tran <dant...@gmail.com> wrote:
> As mentioned, the poms already jam with all the default properties work out
> of box for a particular environment.  I just need a friendly way to
> override them.  Using settings.xml is the only choice at this moment
>
> Thanks
>
> -Dan
>
> On Tue, Sep 8, 2015 at 5:07 PM, Barrie Treloar <baerr...@gmail.com> wrote:
>
>> On 9 September 2015 at 09:30, Dan Tran <dant...@gmail.com> wrote:
>>
>> > Hi Barrie,
>> >
>> > That would work.  On caveat, I have to instruct my user to edit their own
>> > settings.xml.  Would be nice if I can just pass in -fp xxx from command
>> > line
>>
>>
>> Are they truly always on?
>>
>> Then you can jam them in your pom.xml
>>
>> http://maven.apache.org/pom.html#Properties
>>
>>   <properties>
>>     <rat.skip>true</rat.skip>
>>   </properties>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to