0

Is there a command or way where we can find the dependencies for a plugin in maven?

Say I have a plugin in my pom.xml:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
</plugin>

Now how do I know what are the dependencies for this plugin? Can we see them visually? How do I list out the dependencies for plugin?

Is this the command: mvn dependency:resolve-plugins?

António Ribeiro
  • 4,129
  • 5
  • 32
  • 49
Avinash Reddy
  • 2,204
  • 3
  • 25
  • 44
  • 2
    Possible duplicate of [How can you display the Maven dependency tree for the \*plugins\* in your project?](http://stackoverflow.com/questions/7074590/how-can-you-display-the-maven-dependency-tree-for-the-plugins-in-your-project) – Mifeet May 03 '16 at 10:23
  • What is the purpose of seeing them? Some problems with a plugin? – khmarbaise May 03 '16 at 11:11
  • @khmarbaise . Yes problems with a plugin. And also to check whether the dependency jar exists or not. – Avinash Reddy May 03 '16 at 12:46

0 Answers0