-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.9, 2.1.0-M1
-
Fix Version/s: 2.1.0, 3.0-alpha-1
-
Component/s: Inheritance and Interpolation
-
Labels:None
For a POM snippet with
<properties> <!-- source properties --> <project.theTestProperty>PASSED</project.theTestProperty> <pom.anotherTestProperty>PASSED</pom.anotherTestProperty> <!-- interpolation targets --> <projectProperty>${project.theTestProperty}</projectProperty> <pomProperty>${pom.anotherTestProperty}</pomProperty> </properties>
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.