@Mojo(name="set-scm-tag",
requiresDirectInvocation=true,
aggregator=true,
threadSafe=true)
public class SetScmTagMojo
extends AbstractVersionsUpdaterMojo
allowSnapshots, artifactFactory, artifactMetadataSource, artifactResolver, localRepository, pathTranslator, project, projectBuilder, reactorProjects, remoteArtifactRepositories, remotePluginRepositories, resolver, session, settings| Constructor and Description |
|---|
SetScmTagMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Called when this mojo is executed.
|
protected void |
update(ModifiedPomXMLEventReader pom)
Updates the pom.
|
determineUnchangedSegment, findLatestVersion, getHelper, getProject, getPropertyValue, getVersion, newModifiedPomXER, process, setProject, shouldApplyUpdate, updatePropertyToNewestVersion, updatePropertyToNewestVersion, writeFilepublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractVersionsUpdaterMojoorg.apache.maven.plugin.MojoExecutionException - when things go wrong.org.apache.maven.plugin.MojoFailureException - when things go wrong.protected void update(ModifiedPomXMLEventReader pom) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, XMLStreamException, org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
AbstractVersionsUpdaterMojoupdate in class AbstractVersionsUpdaterMojopom - The pom to update.org.apache.maven.plugin.MojoExecutionException - If things go wrong.org.apache.maven.plugin.MojoFailureException - If things go wrong.XMLStreamException - If things go wrong.org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalExceptionCopyright © 2008–2018 MojoHaus. All rights reserved.