that gives me a idea to write a mvn command decorator :-) Thanks
-D On Tue, Sep 8, 2015 at 5:38 PM, jieryn <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> > wrote: > > > >> On 9 September 2015 at 09:30, Dan Tran <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > >
