[regression] Interpolation does not use properties from dominant settings
profile if other profile defines same property
------------------------------------------------------------------------------------------------------------------------
Key: MNG-4106
URL: http://jira.codehaus.org/browse/MNG-4106
Project: Maven 2
Issue Type: Bug
Components: Inheritance and Interpolation
Affects Versions: 3.0-alpha-3
Reporter: Benjamin Bentmann
For two or more profiles in the {{settings.xml}
{code:xml}
<profiles>
<profile>
<id>settings-a</id>
<properties>
<settingsProperty>a</settingsProperty>
</properties>
</profile>
<profile>
<id>settings-b</id>
<properties>
<settingsProperty>b</settingsProperty>
</properties>
</profile>
</profiles>
{code}
the expression ${settingsProperty} will resolve to "a" although the later
profile is dominant (noticeable at the POM property (not expression!)
settingsProperty being "b" in the effective POM).
--
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