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-4016) Properties with the prefix project/pom are not interpolated from the properties section
Date Fri, 30 Jan 2009 15:21:19 GMT
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.1.0-M1, 2.0.9
            Reporter: Benjamin Bentmann
            Priority: Minor


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