From 655cda05dc725374a17756a9811b264b69bffc06 Mon Sep 17 00:00:00 2001 From: Britton Isbell Date: Tue, 14 Oct 2008 09:56:13 +0000 Subject: [PATCH] Fix for IT100. During interpolation, something with 'parent.' needs to be aliased: 'project.parent.' I'm not sure that this is good behavior, given that someone may use 'parent. in their own context. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@704423 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/project/builder/PomClassicTransformer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/maven-project/src/main/java/org/apache/maven/project/builder/PomClassicTransformer.java b/maven-project/src/main/java/org/apache/maven/project/builder/PomClassicTransformer.java index d3731d1817..11f39b38e5 100644 --- a/maven-project/src/main/java/org/apache/maven/project/builder/PomClassicTransformer.java +++ b/maven-project/src/main/java/org/apache/maven/project/builder/PomClassicTransformer.java @@ -558,6 +558,7 @@ public final class PomClassicTransformer Map aliases = new HashMap(); aliases.put( "project.", "pom."); aliases.put( "\\$\\{project.build.", "\\$\\{build."); + aliases.put( "\\$\\{project.parent.", "\\$\\{parent."); if(!containsProjectVersion(interpolatorProperties)) {