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
problem?
Igor Romanov wrote:
Thank you for reply.
Are you saying that properties specified in POM can not be overridden with
-D option?
Igor
Wayne Fay wrote:
You should put the properties in different profiles, and then specify
which profile using -Penv1 when running Maven.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]