mirror of https://github.com/apache/maven.git
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:
parent
50bfa25053
commit
00a0f513b1
|
@ -72,7 +72,7 @@ import java.text.SimpleDateFormat;
|
|||
*/
|
||||
public class DefaultMavenProjectBuilder
|
||||
implements MavenProjectBuilder, Initializable, LogEnabled
|
||||
{
|
||||
{
|
||||
protected MavenProfilesBuilder profilesBuilder;
|
||||
|
||||
protected ArtifactResolver artifactResolver;
|
||||
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue