POM interpolation fails to fully interpolate chain of dependent properties
--------------------------------------------------------------------------

                 Key: MNG-3833
                 URL: http://jira.codehaus.org/browse/MNG-3833
             Project: Maven 2
          Issue Type: Bug
          Components: Inheritance and Interpolation
    Affects Versions: 3.0-alpha-1
            Reporter: Benjamin Bentmann


For instance, for this POM snippet, only eight properties will be fully 
interpolated to "PASSED", the others remain at some intermediate expressions:
{code:xml}
<properties>
    <property19>${property18}</property19>
    <property17>${property16}</property17>
    <property15>${property14}</property15>
    <property13>${property12}</property13>
    <property11>${property10}</property11>
    <property09>${property08}</property09>
    <property07>${property06}</property07>
    <property05>${property04}</property05>
    <property03>${property02}</property03>
    <property01>${property00}</property01>
    <property00>PASSED</property00>
    <property02>${property01}</property02>
    <property04>${property03}</property04>
    <property06>${property05}</property06>
    <property10>${property09}</property10>
    <property12>${property11}</property12>
    <property08>${property07}</property08>
    <property14>${property13}</property14>
    <property16>${property15}</property16>
    <property18>${property17}</property18>
</properties>
{code}
i.e. {{help:effective-pom}} delivers
{code:xml}
  <properties>
    <property00>PASSED</property00>
    <property01>PASSED</property01>
    <property02>PASSED</property02>
    <property03>PASSED</property03>
    <property04>PASSED</property04>
    <property05>PASSED</property05>
    <property06>PASSED</property06>
    <property07>PASSED</property07>
    <property08>PASSED</property08>
    <property09>${property01}</property09>
    <property10>${property01}</property10>
    <property11>${property03}</property11>
    <property12>${property03}</property12>
    <property13>${property05}</property13>
    <property14>${property05}</property14>
    <property15>${property07}</property15>
    <property16>${property07}</property16>
    <property17>${property09}</property17>
    <property18>${property09}</property18>
    <property19>${property11}</property19>
  </properties>
{code}


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