Fix: interpolator - mavenVersion and maven.version are implicitly set.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718472 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Britton Isbell 2008-11-18 03:04:29 +00:00
parent 50bfa25053
commit 00a0f513b1
2 changed files with 4 additions and 2 deletions

View File

@ -538,6 +538,8 @@ public class DefaultMavenProjectBuilder
PomInterpolatorTag.PROJECT_PROPERTIES.name()));
}
interpolatorProperties.add(new InterpolatorProperty("${mavenVersion}", MavenProjectBuilder.STANDALONE_SUPERPOM_VERSION, PomInterpolatorTag.SYSTEM_PROPERTIES.name()));
interpolatorProperties.add(new InterpolatorProperty("${maven.version}", MavenProjectBuilder.STANDALONE_SUPERPOM_VERSION, PomInterpolatorTag.SYSTEM_PROPERTIES.name()));
MavenProject mavenProject;
try
{

View File

@ -30,7 +30,7 @@ public interface MavenProjectBuilder
String STANDALONE_SUPERPOM_ARTIFACTID = "super-pom";
String STANDALONE_SUPERPOM_VERSION = "3.0";
String STANDALONE_SUPERPOM_VERSION = "3.0-SNAPSHOT";
boolean STRICT_MODEL_PARSING = true;