Package org.codehaus.mojo.buildhelper
Class MavenVersionMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
-
- org.codehaus.mojo.buildhelper.MavenVersionMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Deprecated @Mojo(name="maven-version", defaultPhase=VALIDATE, threadSafe=true) public class MavenVersionMojo extends AbstractDefinePropertyMojoDeprecated.Maven since version3.0.4has such property build in: MNG-4112. So goal can be removed.Store the maven core version in a propertymaven.version.- Since:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.maven.rtinfo.RuntimeInformationruntimeDeprecated.The RuntimeInforamtion for the current instance of Maven.private java.lang.StringversionPropertyDeprecated.The name of the property in which to store the version of Maven.-
Fields inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
project
-
-
Constructor Summary
Constructors Constructor Description MavenVersionMojo()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidexecute()Deprecated.Main plugin execution-
Methods inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
defineProperty, getProject
-
-
-
-
Field Detail
-
runtime
@Component private org.apache.maven.rtinfo.RuntimeInformation runtime
Deprecated.The RuntimeInforamtion for the current instance of Maven.
-
versionProperty
@Parameter(defaultValue="maven.version") private java.lang.String versionProperty
Deprecated.The name of the property in which to store the version of Maven.
-
-