Re: Replacing a bunch of -Dkey=value pairs using external file

2015-09-08 Thread Barrie Treloar
On 9 September 2015 at 10:08, jieryn wrote: > bash$ cat sys1.env > -DZZ01=maven > -DZZ02=rocks > > bash$ mvn $( 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 hel

Re: Replacing a bunch of -Dkey=value pairs using external file

2015-09-08 Thread Dan Tran
that gives me a idea to write a mvn command decorator :-) Thanks -D On Tue, Sep 8, 2015 at 5:38 PM, jieryn wrote: > bash$ cat sys1.env > -DZZ01=maven > -DZZ02=rocks > > bash$ mvn $( ZZ02=rocks > ZZ01=maven > sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher > -DZZ01=maven -DZ

Re: Replacing a bunch of -Dkey=value pairs using external file

2015-09-08 Thread jieryn
bash$ cat sys1.env -DZZ01=maven -DZZ02=rocks bash$ mvn $( 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 > >

Re: Replacing a bunch of -Dkey=value pairs using external file

2015-09-08 Thread Dan Tran
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 wrote: > On 9 Septembe

Re: Replacing a bunch of -Dkey=value pairs using external file

2015-09-08 Thread Barrie Treloar
On 9 September 2015 at 09:30, Dan Tran 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://mave

Re: Replacing a bunch of -Dkey=value pairs using external file

2015-09-08 Thread Dan Tran
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 Thanks -Dan On Tue, Sep 8, 2015 at 4:46 PM, Barrie Treloar wrote: > On 9 September 2015 at 08:14, Dan Tran wrote: > > > Hi > > > >

Re: Replacing a bunch of -Dkey=value pairs using external file

2015-09-08 Thread Barrie Treloar
On 9 September 2015 at 08:14, Dan Tran wrote: > Hi > > I have a scenario where I use a maven reactor multi-modules build to > orchestrate a vmware OVA build from scratch ( start with ISO, create > initial VM, apply additional provisioning, export to OVA, deploy, and test) > > The poms have proper

Replacing a bunch of -Dkey=value pairs using external file

2015-09-08 Thread Dan Tran
Hi I have a scenario where I use a maven reactor multi-modules build to orchestrate a vmware OVA build from scratch ( start with ISO, create initial VM, apply additional provisioning, export to OVA, deploy, and test) The poms have properties which can be overridden via -Dx=y to build on non-defa

Re: What does the TODO refering to a "jarjar" format in the maven-assembly-plugin jar-with-dependencies example mean?

2015-09-08 Thread Timo
Anyone? If nobody knows what the comment is for, I vote to remove it, if I may. I'm sure I'm not the only one being confused about it. 2015-09-03 12:59 GMT+02:00 Timo : > Thanks for the insight! I guess we'll have to hope for more info from > Brett. Since the TODO is obviously over 10 years old, m