Search code examples
maven

How can I get list of plugin dependencies?


It is said that:

Maven 2.0.9 introduced the ability to override a dependency used by a plugin. This is handy when you want to use a newer checkstyle, pmd, etc jar than is included by default in the plugin.

My question is - how can I get list of dependencies of some specific plugin just as easy as I can get list of dependencies of the project?


Solution

  • Executing mvn dependency:resolve-plugins will provide a list of all the plugins defined within your POM (and those inherited from any parent POMs) along with all the dependencies of each plugin.