@Mojo(name="display-plugin-updates",
threadSafe=true)
public class DisplayPluginUpdatesMojo
extends AbstractVersionsDisplayMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_MVN_VERSION |
protected org.apache.maven.project.ProjectBuilder |
projectBuilder
The (injected) instance of
ProjectBuilder |
logOutput, outputEncoding, outputFile, outputLineWidthaetherRepositorySystem, allowSnapshots, ignoredVersions, project, reactorProjects, repositorySystem, ruleSet, session, wagonMap| Constructor and Description |
|---|
DisplayPluginUpdatesMojo(org.apache.maven.repository.RepositorySystem repositorySystem,
org.eclipse.aether.RepositorySystem aetherRepositorySystem,
org.apache.maven.project.ProjectBuilder projectBuilder,
Map<String,org.apache.maven.wagon.Wagon> wagonMap,
org.apache.maven.lifecycle.LifecycleExecutor lifecycleExecutor,
org.apache.maven.model.interpolation.ModelInterpolator modelInterpolator,
org.apache.maven.rtinfo.RuntimeInformation runtimeInformation,
Map<String,org.codehaus.mojo.versions.api.recording.ChangeRecorder> changeRecorders) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected void |
update(ModifiedPomXMLEventReader pom)
Updates the pom.
|
getOutputLineWidthOffset, logInit, logLinefindLatestVersion, getChangeRecorder, getHelper, getProject, getPropertyValue, getVersion, newModifiedPomXER, process, saveChangeRecorderResults, setProject, shouldApplyUpdate, shouldApplyUpdate, updatePropertyToNewestVersion, validateInput, writeFilepublic static final String DEFAULT_MVN_VERSION
protected final org.apache.maven.project.ProjectBuilder projectBuilder
ProjectBuilder@Inject
public DisplayPluginUpdatesMojo(org.apache.maven.repository.RepositorySystem repositorySystem,
org.eclipse.aether.RepositorySystem aetherRepositorySystem,
org.apache.maven.project.ProjectBuilder projectBuilder,
Map<String,org.apache.maven.wagon.Wagon> wagonMap,
org.apache.maven.lifecycle.LifecycleExecutor lifecycleExecutor,
org.apache.maven.model.interpolation.ModelInterpolator modelInterpolator,
org.apache.maven.rtinfo.RuntimeInformation runtimeInformation,
Map<String,org.codehaus.mojo.versions.api.recording.ChangeRecorder> changeRecorders)
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)
AbstractVersionsUpdaterMojoupdate in class AbstractVersionsUpdaterMojopom - the pom to update.AbstractVersionsUpdaterMojo.update(ModifiedPomXMLEventReader)Copyright © 2008–2022 MojoHaus. All rights reserved.