Profile resident POM element overrides do not effect inherited projects if the
children have their own explicitly defined elements.
-----------------------------------------------------------------------------------------------------------------------------------
Key: MNG-3249
URL: http://jira.codehaus.org/browse/MNG-3249
Project: Maven 2
Issue Type: Bug
Components: Profiles
Affects Versions: 2.0.7
Reporter: John Allen
If i declare a profile in a base pom that overrides settings in the POM, those
settings are only overridden in the base POM and not in the inherited children
in a reactor build if the children also explicitly define their own values for
those overridden settings. I almost didn't create this as you could argue that
that is how children maintain control but I think the profile evaluation should
be applied to each level of the hierarchy, as the inheritance model is built
up, i.e. I expect the children to inherit the profile too, not just the
application of that profile to it's ancestors state and thus that profile
should applied to the child's model, after the rest of the child's inherited
state has been established, and thus it should still override the child's
settings.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira