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

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

[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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-4107:
------------------------------

    Fix Version/s: 3.0-alpha-5

> [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
>             Fix For: 3.0-alpha-5
>
>
> 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

        

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

Posted by "Shane Isbell (JIRA)" <ji...@codehaus.org>.
     [ 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