"mvn dependency: tree" - is there an equivalent available for verbose output?

I have a use case where we want to know all the versions that the Maven project gets for the dependency tree, even if they are omitted.

In the maven-dependency-plugin documentation, the "verbose" option has been discontinued since Maven 3 and the "tree" Mojo dependency targets can no longer display omitted dependencies.

I am using Maven 3.5.0 and trying to use an additional installation of Maven 2.x, but this gives compatibility issues with Java 8 applications.

Is there a way to get a verbose dependency tree in Maven 3?

+4
source share
2 answers

you can use

mvn dependency:tree -X

which produces debug output .

verbose -

, Maven 2 Maven 3.

+2

Source: https://habr.com/ru/post/1686372/


All Articles