@Mojo(name="display-plugin-updates",
requiresProject=true,
requiresDirectInvocation=false,
threadSafe=true)
public class DisplayPluginUpdatesMojo
extends AbstractVersionsDisplayMojo
allowSnapshots, artifactFactory, artifactMetadataSource, artifactResolver, localRepository, pathTranslator, project, projectBuilder, reactorProjects, remoteArtifactRepositories, remotePluginRepositories, resolver, session, settings| Constructor and Description |
|---|
DisplayPluginUpdatesMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
Map<String,org.apache.maven.lifecycle.Lifecycle> |
getPhaseToLifecycleMap(List<org.apache.maven.lifecycle.Lifecycle> lifecycles)
Gets the phase to lifecycle map.
|
protected void |
update(ModifiedPomXMLEventReader pom)
Updates the pom.
|
logInit, logLinedetermineUnchangedSegment, 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
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<String,org.apache.maven.lifecycle.Lifecycle> getPhaseToLifecycleMap(List<org.apache.maven.lifecycle.Lifecycle> 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–2018 MojoHaus. All rights reserved.