Class SvnVersionMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.dellroad.stuff.maven.AbstractExecSetPropertyMojo
org.dellroad.stuff.maven.SvnVersionMojo
- All Implemented Interfaces:
ContextEnabled, Mojo
@Mojo(name="svn-version",
threadSafe=true,
defaultPhase=INITIALIZE)
public class SvnVersionMojo
extends AbstractExecSetPropertyMojo
Sets a Maven project property based on the output of
svnversion.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractExecSetPropertyMojo
executeAndSetProperty, isNonEmptyMethods inherited from class AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
SvnVersionMojo
public SvnVersionMojo()
-
-
Method Details
-
getPropertyName
Description copied from class:AbstractExecSetPropertyMojoGet the name of the property to set.- Specified by:
getPropertyNamein classAbstractExecSetPropertyMojo- Returns:
- the name of the property to set
-
execute
- Throws:
MojoExecutionException
-