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
This commit is contained in:
Britton Isbell 2008-10-14 09:56:13 +00:00
parent a2f245109b
commit 655cda05dc

View File

@ -558,6 +558,7 @@ private static void interpolateModelProperties(List<ModelProperty> modelProperti
Map<String, String> aliases = new HashMap<String, String>();
aliases.put( "project.", "pom.");
aliases.put( "\\$\\{project.build.", "\\$\\{build.");
aliases.put( "\\$\\{project.parent.", "\\$\\{parent.");
if(!containsProjectVersion(interpolatorProperties))
{