public class DisplayPluginUpdatesMojo extends AbstractVersionsDisplayMojo
allowSnapshots, artifactFactory, artifactMetadataSource, artifactResolver, localRepository, pathTranslator, projectBuilder, reactorProjects, remoteArtifactRepositories, remotePluginRepositories, resolver, session, settings| Constructor and Description |
|---|
DisplayPluginUpdatesMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
Map |
getPhaseToLifecycleMap(List lifecycles)
Gets the phase to lifecycle map.
|
protected void |
update(ModifiedPomXMLEventReader pom)
Updates the pom.
|
logInit, logLinedetermineUnchangedSegment, findLatestVersion, getHelper, getProject, getPropertyValue, newModifiedPomXER, process, setProject, shouldApplyUpdate, updatePropertyToNewestVersion, writeFilepublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
AbstractVersionsUpdaterMojoexecute in interface org.apache.maven.plugin.Mojoexecute in class AbstractVersionsUpdaterMojoorg.apache.maven.plugin.MojoExecutionException - when things go wrongorg.apache.maven.plugin.MojoFailureException - when things go wrong in a very bad wayAbstractVersionsUpdaterMojo.execute()public Map getPhaseToLifecycleMap(List lifecycles) throws org.apache.maven.lifecycle.LifecycleExecutionException
lifecycles - The list of lifecycles.org.apache.maven.lifecycle.LifecycleExecutionException - the lifecycle execution exception.protected void update(ModifiedPomXMLEventReader pom) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, javax.xml.stream.XMLStreamException
AbstractVersionsUpdaterMojoupdate in class AbstractVersionsUpdaterMojopom - the pom to update.org.apache.maven.plugin.MojoExecutionException - when things go wrongorg.apache.maven.plugin.MojoFailureException - when things go wrong in a very bad wayjavax.xml.stream.XMLStreamException - when things go wrong with XML streamingAbstractVersionsUpdaterMojo.update(ModifiedPomXMLEventReader)Copyright © 2008–2015 Codehaus. All rights reserved.