Re: How to override POM properties from CLI

2008-02-22 Thread avalon
that reproduces the problem? http://jira.codehaus.org/browse/MNG-3417 -- View this message in context: http://www.nabble.com/How-to-override-POM-properties-from-CLI-tp15344487s177p15633399.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: How to override POM properties from CLI

2008-02-21 Thread Paul Gier
This seems to work ok for me. I tried it locally and my profile properties override my pom properties, and cli props defined with -D override both pom and profile properties. I tried with maven 2.0.6 and 2.0.8. Can you attach a small zipped project to a jira issue that reproduces the

Re: How to override POM properties from CLI

2008-02-20 Thread avalon
: http://www.nabble.com/How-to-override-POM-properties-from-CLI-tp15344487s177p15605671.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: How to override POM properties from CLI

2008-02-20 Thread Arnaud HERITIER
wrote: You should put the properties in different profiles, and then specify which profile using -Penv1 when running Maven. Wayne -- View this message in context: http://www.nabble.com/How-to-override-POM-properties-from-CLI-tp15344487s177p15605671.html Sent from the Maven - Users

How to override POM properties from CLI

2008-02-07 Thread Igor Romanov
Hello, I have properties in a POM file I need to be able to override with command line –D option, to run build in a different environments. How can I do this? Simple example below doesn't work as I expect it should, i.e. test.txt will contain FALSE after running c:\temp\module mvn

Re: How to override POM properties from CLI

2008-02-07 Thread Wayne Fay
You should put the properties in different profiles, and then specify which profile using -Penv1 when running Maven. Wayne On 2/7/08, Igor Romanov [EMAIL PROTECTED] wrote: Hello, I have properties in a POM file I need to be able to override with command line –D option, to run build in a

Re: How to override POM properties from CLI

2008-02-07 Thread Igor Romanov
in context: http://www.nabble.com/How-to-override-POM-properties-from-CLI-tp15344487s177p15347745.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e