maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-4107) [regression] User settings can't override properties used for POM interpolation
Date Tue, 24 Mar 2009 13:25:12 GMT
[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

        

Mime
View raw message