Hi everyone,

I just got surprised by the way Maven resolves properties between parent,
profiles and current pom.

I made an example project to illustrate that (one parent pom, one child) :
https://gist.github.com/667731
With this example project, from the child project, I get the following :

mvn validate => myproperty = child
mvn validate -Pmyprofile => myproperty = child

I would rather expect using the second command to get myproperty =
myprofile. But anyway, if this is how it works...

Vincent

Reply via email to