@Mojo(name="display-plugin-updates",
threadSafe=true)
public class DisplayPluginUpdatesMojo
extends AbstractVersionsDisplayMojo
logOutput, outputEncoding, outputFile, outputLineWidthallowSnapshots, artifactMetadataSource, artifactResolver, ignoredVersions, localRepository, project, projectBuilder, reactorProjects, remoteArtifactRepositories, remotePluginRepositories, repositorySystem, ruleSet, session, settings| Constructor and Description |
|---|
DisplayPluginUpdatesMojo(org.apache.maven.repository.RepositorySystem repositorySystem,
org.apache.maven.project.MavenProjectBuilder projectBuilder,
org.apache.maven.artifact.metadata.ArtifactMetadataSource artifactMetadataSource,
org.apache.maven.artifact.manager.WagonManager wagonManager,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver,
org.apache.maven.lifecycle.LifecycleExecutor lifecycleExecutor,
org.apache.maven.model.interpolation.ModelInterpolator modelInterpolator,
org.apache.maven.plugin.PluginManager pluginManager,
org.apache.maven.execution.RuntimeInformation runtimeInformation) |
| 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.
|
getOutputLineWidthOffset, logInit, logLinefindLatestVersion, getChangeRecorder, getHelper, getProject, getPropertyValue, getVersion, newModifiedPomXER, process, saveChangeRecorderResults, setProject, shouldApplyUpdate, shouldApplyUpdate, updatePropertyToNewestVersion, writeFile@Inject
public DisplayPluginUpdatesMojo(org.apache.maven.repository.RepositorySystem repositorySystem,
org.apache.maven.project.MavenProjectBuilder projectBuilder,
org.apache.maven.artifact.metadata.ArtifactMetadataSource artifactMetadataSource,
org.apache.maven.artifact.manager.WagonManager wagonManager,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver,
org.apache.maven.lifecycle.LifecycleExecutor lifecycleExecutor,
org.apache.maven.model.interpolation.ModelInterpolator modelInterpolator,
org.apache.maven.plugin.PluginManager pluginManager,
org.apache.maven.execution.RuntimeInformation runtimeInformation)
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<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–2022 MojoHaus. All rights reserved.