@Mojo(name="update-child-modules",
requiresProject=true,
requiresDirectInvocation=true,
aggregator=true,
threadSafe=true)
public class UpdateChildModulesMojo
extends AbstractVersionsUpdaterMojo
allowSnapshots, artifactFactory, artifactMetadataSource, artifactResolver, localRepository, pathTranslator, project, projectBuilder, reactorProjects, remoteArtifactRepositories, remotePluginRepositories, resolver, session, settings| Constructor and Description |
|---|
UpdateChildModulesMojo() |
| 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, 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
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–2018 MojoHaus. All rights reserved.