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] Closed: (MNG-4016) Properties with the prefix project/pom are not interpolated from the properties section
Date Fri, 30 Jan 2009 16:08:19 GMT

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

Benjamin Bentmann closed MNG-4016.
----------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 2.1.0-M2

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

> Properties with the prefix project/pom are not interpolated from the properties section
> ---------------------------------------------------------------------------------------
>
>                 Key: MNG-4016
>                 URL: http://jira.codehaus.org/browse/MNG-4016
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 2.0.9, 2.1.0-M1
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 2.1.0-M2
>
>
> For a POM snippet with
> {code:xml}
> <properties>
>   <!-- source properties -->
>   <project.theTestProperty>PASSED</project.theTestProperty>
>   <pom.anotherTestProperty>PASSED</pom.anotherTestProperty>
>   <!-- interpolation targets -->
>   <projectProperty>${project.theTestProperty}</projectProperty>
>   <pomProperty>${pom.anotherTestProperty}</pomProperty>
> </properties>
> {code}
> the interpolation targets are not interpolated. Internally, the POM interpolator strips
the project/pom prefix from the expression before querying the {{<properties>}} section
instead of using the full expression for the property lookup.

-- 
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