@Mojo(name="extract-buildnumber",
defaultPhase=VALIDATE,
threadSafe=true)
public class JGitBuildNumberMojo
extends org.apache.maven.plugin.AbstractMojo
implements Parameters
| Constructor and Description |
|---|
JGitBuildNumberMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Extracts buildnumber fields from git repository and publishes them as maven properties.
|
getLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasString, getBuildDateFormat, getBuildNumberFormat, getCountCommitsInPath, getCountCommitsSinceExclusive, getCountCommitsSinceInclusive, getDateFormatTimeZone, getDirtyValue, getGitDateFormat, getNamespace, getRepositoryDirectory, getRunOnlyAtExecutionRoot, getShortRevisionLength, getSkip, getVerbose, setBuildDateFormat, setBuildNumberFormat, setCountCommitsInPath, setCountCommitsSinceExclusive, setCountCommitsSinceInclusive, setDateFormatTimeZone, setDirtyValue, setGitDateFormat, setNamespace, setRepositoryDirectory, setRunOnlyAtExecutionRoot, setShortRevisionLength, setSkip, setVerbose, validateAndSetParameterValuespublic JGitBuildNumberMojo()
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2022. All rights reserved.