public class DisplayPluginUpdatesMojo extends AbstractVersionsUpdaterMojo
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.
|
void |
setXmlReport(File xmlReport) |
protected void |
update(ModifiedPomXMLEventReader pom)
Updates the pom.
|
determineUnchangedSegment, findLatestVersion, getHelper, getProject, getPropertyValue, newModifiedPomXER, process, setProject, shouldApplyUpdate, updatePropertyToNewestVersion, writeFilepublic void setXmlReport(File xmlReport)
public 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, 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 wayXMLStreamException - when things go wrong with XML streamingAbstractVersionsUpdaterMojo.update(ModifiedPomXMLEventReader)Copyright © 2008-2014. All Rights Reserved.