public class SetMojo extends AbstractVersionsUpdaterMojo
allowSnapshots, artifactFactory, artifactMetadataSource, artifactResolver, localRepository, pathTranslator, projectBuilder, reactorProjects, remoteArtifactRepositories, remotePluginRepositories, resolver, session, settings| Constructor and Description |
|---|
SetMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Called when this mojo is executed.
|
protected void |
update(ModifiedPomXMLEventReader pom)
Updates the pom file.
|
determineUnchangedSegment, findLatestVersion, getHelper, getProject, getPropertyValue, newModifiedPomXER, process, setProject, shouldApplyUpdate, 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
update in class AbstractVersionsUpdaterMojopom - The pom file to update.org.apache.maven.plugin.MojoExecutionException - when things go wrong.org.apache.maven.plugin.MojoFailureException - when things go wrong.XMLStreamException - when things go wrong.Copyright © 2008-2014. All Rights Reserved.