[ 
http://jira.codehaus.org/browse/MNG-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann closed MNG-4106.
----------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 3.0-alpha-3

Fixed in [r757584|http://svn.eu.apache.org/viewvc?view=rev&revision=757584].

> [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
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-alpha-3
>
>
> 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

        

Reply via email to