public class DisplayDependencyUpdatesMojo extends AbstractVersionsDisplayMojo
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
processDependencies
Whether to process the dependencies section of the project.
|
protected Boolean |
processDependencyManagement
Whether to process the dependencyManagement section of the project.
|
protected Boolean |
verbose
Whether to show additional information such as dependencies that
do not need updating.
|
allowSnapshots, artifactFactory, artifactMetadataSource, artifactResolver, localRepository, pathTranslator, projectBuilder, reactorProjects, remoteArtifactRepositories, remotePluginRepositories, resolver, session, settings| Constructor and Description |
|---|
DisplayDependencyUpdatesMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
boolean |
isProcessingDependencies() |
boolean |
isProcessingDependencyManagement() |
boolean |
isVerbose() |
protected void |
update(ModifiedPomXMLEventReader pom)
Updates the pom.
|
logInit, logLinedetermineUnchangedSegment, findLatestVersion, getHelper, getProject, getPropertyValue, newModifiedPomXER, process, setProject, shouldApplyUpdate, updatePropertyToNewestVersion, writeFileprotected Boolean processDependencyManagement
protected Boolean processDependencies
protected Boolean verbose
public boolean isProcessingDependencyManagement()
public boolean isProcessingDependencies()
public boolean isVerbose()
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()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(org.codehaus.mojo.versions.rewriting.ModifiedPomXMLEventReader)Copyright © 2008–2015 Codehaus. All rights reserved.