[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


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

        

Reply via email to