@Mojo(name="tag", aggregator=true) public class TagMojo extends AbstractScmMojo
Modifier and Type | Field and Description |
---|---|
private boolean |
addTimestamp
Use timestamp tagging.
|
private java.lang.String |
message
The message applied to the tag creation.
|
private boolean |
remoteTagging
currently only implemented with svn scm.
|
private java.lang.String |
tag
The tag name.
|
private java.lang.String |
timestampFormat
Set the timestamp format.
|
private java.lang.String |
timestampPosition
Define the timestamp position (end or begin).
|
private java.lang.String |
timestampPrefix
Timestamp tag prefix.
|
Constructor and Description |
---|
TagMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
checkResult, getBasedir, getConnectionUrl, getExcludes, getFileSet, getIncludes, getScmManager, getScmRepository, getScmVersion, getWorkingDirectory, handleExcludesIncludesAfterCheckoutAndExport, setConnectionType, setConnectionUrl, setExcludes, setIncludes, setWorkingDirectory
@Parameter(property="tag", required=true) private java.lang.String tag
@Parameter(property="message") private java.lang.String message
@Parameter(property="timestampFormat", defaultValue="yyyyMMddHHmmss") private java.lang.String timestampFormat
@Parameter(property="addTimestamp", defaultValue="false") private boolean addTimestamp
@Parameter(property="timestampPosition", defaultValue="end") private java.lang.String timestampPosition
@Parameter(property="timestampPrefix", defaultValue="-") private java.lang.String timestampPrefix
@Parameter(property="remoteTagging", defaultValue="true") private boolean remoteTagging
public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractScmMojo
org.apache.maven.plugin.MojoExecutionException