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

  • SEARCH
  • Home
  • 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

Ask A Question

Stats

  • Questions 297k
  • Answers 297k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can safely delete it. "cgi-bin" is hardly ever used… May 13, 2026 at 7:24 pm
  • Editorial Team
    Editorial Team added an answer It shouldn't matter what casing you are using, though most… May 13, 2026 at 7:24 pm
  • Editorial Team
    Editorial Team added an answer You may want to look at sections 23.6, 23.7, 23.8,… May 13, 2026 at 7:24 pm

Related Questions

If I use the maven-dependency-plugin plugin, than I can't use a version range. Also
I'm writing a framework for OS X that may be used by applications with
I'm looking into a mechanism for serialize data to be passed over a socket
I'm writing an app that has a wizard type input section. Think MS Windows
I would like to provide a large number of inhouse .net applications with a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.