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

前端 未结 1 1532
难免孤独
难免孤独 2021-02-04 02:20

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

Per maven-dependency-plugin doc

相关标签:
1条回答
  • 2021-02-04 02:49

    You can use

    mvn dependency:tree -X
    

    which produces the debug output.

    Otherwise stated in the documentation about verbose -

    Notice this feature actually uses Maven 2 algorithm and may give wrong results when used with Maven 3.

    Edit: As pointed by Brad in the comments, the verbose flag has been would be reintroduced for the 3.2.0 release and further.

    0 讨论(0)
提交回复
热议问题