@Mojo(name="update", aggregator=true) public class UpdateMojo extends AbstractScmMojo
Modifier and Type | Field and Description |
---|---|
private org.apache.maven.project.MavenProject |
project
The Maven project.
|
private java.lang.String |
revisionKey
The project property where to store the revision name.
|
private boolean |
runChangelog
Run Changelog after update.
|
private java.lang.String |
scmVersion
The version (revision number/branch name/tag name).
|
private java.lang.String |
scmVersionType
The version type (branch/tag/revision) of scmVersion.
|
Constructor and Description |
---|
UpdateMojo() |
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="scmVersionType") private java.lang.String scmVersionType
@Parameter(property="scmVersion") private java.lang.String scmVersion
@Parameter(property="revisionKey", defaultValue="scm.revision") private java.lang.String revisionKey
@Parameter(defaultValue="${project}", required=true, readonly=true) private org.apache.maven.project.MavenProject project
@Parameter(property="runChangelog", defaultValue="false") private boolean runChangelog
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