Class DisplayPluginUpdatesMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="display-plugin-updates", threadSafe=true) public class DisplayPluginUpdatesMojo extends AbstractVersionsDisplayMojo
Displays all plugins that have newer versions available, taking care of Maven version prerequisites.
Since:
1.0-alpha-1
Author:
Stephen Connolly
  • Field Details

    • PATTERN_PROJECT_PLUGIN

      public static final Pattern PATTERN_PROJECT_PLUGIN
    • SUPERPOM_PATH

      public static final String SUPERPOM_PATH
      See Also:
    • projectBuilder

      protected final org.apache.maven.project.ProjectBuilder projectBuilder
      The (injected) instance of ProjectBuilder
      Since:
      2.14.0
    • processUnboundPlugins

      @Parameter(property="processUnboundPlugins", defaultValue="false") protected boolean processUnboundPlugins

      If set to true, will also display updates to plugins where no version is specified in the current POM, but whose version is specified in the parent or the "superpom".

      It might not always be possible to update these plugins, thus the default value of this parameter is false

      .
      Since:
      2.15.0
  • Constructor Details

    • DisplayPluginUpdatesMojo

      @Inject public DisplayPluginUpdatesMojo(org.apache.maven.artifact.handler.manager.ArtifactHandlerManager artifactHandlerManager, org.eclipse.aether.RepositorySystem repositorySystem, 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,ChangeRecorder> changeRecorders)
  • Method Details