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
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
:
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
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
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
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
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