Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 571103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:28:19+00:00 2026-05-13T13:28:19+00:00

Is there a mechanism to track maven plugin version updates automatically. Since most of

  • 0

Is there a mechanism to track maven plugin version updates automatically. Since most of the time in dependencyManagement you hard-wire the version numbers for every plugin. Is there an administrative command to find this information on what newer versions are vailable for plugins declared in pom.xml?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:28:19+00:00Added an answer on May 13, 2026 at 1:28 pm

    The Versions Maven Plugin has a nice versions:display-plugin-updates mojo for this.
    To use it, simply run:

    mvn versions:display-plugin-updates
    

    Which produces something like that:

    [INFO] ------------------------------------------------------------------------
    [INFO] Building sandbox
    [INFO]    task-segment: [versions:display-plugin-updates]
    [INFO] ------------------------------------------------------------------------
    [INFO] [versions:display-plugin-updates {execution: default-cli}]
    [INFO] 
    [INFO] The following plugin updates are available:
    [INFO]   maven-clean-plugin ....................................... 2.2 -> 2.4
    [INFO]   maven-compiler-plugin .................................. 2.0.2 -> 2.1
    [INFO]   maven-deploy-plugin ...................................... 2.4 -> 2.5
    [INFO]   maven-install-plugin ..................................... 2.2 -> 2.3
    [INFO]   maven-jar-plugin ......................................... 2.2 -> 2.3
    [INFO]   maven-resources-plugin ................................. 2.3 -> 2.4.1
    [INFO]   maven-site-plugin ................................. 2.0-beta-7 -> 2.1
    [INFO]   maven-surefire-plugin .................................. 2.4.3 -> 2.5
    [INFO] 
    [INFO] All plugins have a version specified.
    [INFO] 
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 7 seconds
    [INFO] Finished at: Fri Jan 22 07:21:57 CET 2010
    [INFO] Final Memory: 16M/68M
    [INFO] ------------------------------------------------------------------------
    

    It will also warn you if you have not specified the versions of plugins that you are using. See Checking for new plugin updates for details.

    Update: (answering some additional questions posted as comments)

    How does it decide to figure out the list of plugins to search for (is it from pluginManagement?)

    AFAIK, the plugin should scan all plugins i.e. build.plugins, build.pluginManagement.plugins and build.reporting.plugins (see MVERSIONS-83 about this).

    I did a quick check on build/pluginManagement/plugins and it looks like didn’t find updates for plugins other than org.apache.maven.plugins

    I did a test too and this is not what I’m observing. At least it works with mojos from codehaus (like in the last sample from the previous link). But if I move the plugin in build.plugins, it doesn’t work indeed. This is actually a bug, see MVERSIONS-69. Surprisingly, it seems to work with the version 1.1 that you can run as shown below:

    mvn org.codehaus.mojo:versions-maven-plugin:1.1:display-plugin-updates
    

    And if you look closely at MVERSIONS-69, the output of the integration tests suggests that it should work with any plugin. But I confess, I’m not 100% sure.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I use the maven-dependency-plugin plugin, than I can't use a version range. Also
Is there any mechanism in Hudson/Jenkns which automatically invokes the slave machine which ever
Is there a built-in mechanism in .NET to match patterns other than regular expressions
I want to use the nltk libraries in c++. Is there a glue language/mechanism
Is there any point in keeping track of the classic bool disposed field on
Is there a similar mechanism in Python, to the effect set -x has on
Is there a mechanism or accepted approach for responding to requests that have a
I've to use a mechanism to track the last user logout (or when his
Is there any graph or mechanism to test the performance of an android app?
Apologies if this is a repeat; I'm having a hard time figuring out what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.