Hi guys!

I have a problem with something I took for granted until now :P
What I need is to override a property value by passing a new value from the
command line.
For example, I have something like this in my pom.xml:
...
<properties>
   <myProp>myDefault</myProp>
</properties>
...
and then I run a goal with some arguments...let's say... mvn
help:effective-pom -DmyProp=myValue
So, what I was expecting was to override myDefault with myValue but that's
not happening.

Is that the correct behavior? If that's the way it works, how can I do what
I want? (maybe profiles?)

Thanks in advance,
Vic

Reply via email to