You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Shane Isbell (JIRA)" <ji...@codehaus.org> on 2009/04/03 13:48:12 UTC

[jira] Closed: (MNG-4107) [regression] User settings can't override properties used for POM interpolation

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

Shane Isbell closed MNG-4107.
-----------------------------

         Assignee: Shane Isbell
       Resolution: Fixed
    Fix Version/s:     (was: 3.0-alpha-5)
                   3.0-alpha-3

> [regression] User settings can't override properties used for POM interpolation
> -------------------------------------------------------------------------------
>
>                 Key: MNG-4107
>                 URL: http://jira.codehaus.org/browse/MNG-4107
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0-alpha-3
>            Reporter: Benjamin Bentmann
>            Assignee: Shane Isbell
>             Fix For: 3.0-alpha-3
>
>
> POM snippet:
> {code:xml}
> <properties>
>   <pomVsSettingsInterpolated>${pomVsSettings}</pomVsSettingsInterpolated>
> </properties>
> <profiles>
>   <profile>
>     <id>pom</id>
>     <activation>
>       <activeByDefault>true</activeByDefault>
>     </activation>
>     <properties>
>       <pomVsSettings>pom</pomVsSettings>
>     </properties>
>   </profile>
> </profiles>
> {code}
> and in {{settings.xml}}:
> {code:xml}
> <profiles>
>   <profile>
>     <id>settings</id>
>     <activation>
>       <activeByDefault>true</activeByDefault>
>     </activation>
>     <properties>
>       <pomVsSettings>settings</pomVsSettings>
>     </properties>
>   </profile>
> </profiles>
> {code}
> This ends up with pomVsSettingsInterpolated=pom instead of pomVsSettingsInterpolated=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