Display omitted versions in maven dependency:tree?

后端 未结 2 1469
时光说笑
时光说笑 2020-12-03 08:12

In Eclipse, when I go to the Maven Dependency Hierarchy page, I get output that states what conflicts caused versions to be omitted:

However, if I use depen

相关标签:
2条回答
  • 2020-12-03 08:38

    Yes, you can have the omitted artifacts by setting the verbose attribute to true:

    Whether to include omitted nodes in the serialized dependency tree.

    This attribute defaults to false. On the command line, you would have

    mvn dependency:tree -Dverbose=true
    
    0 讨论(0)
  • 2020-12-03 09:02

    According to this, the -Dverbose=true argument is ignored in versions 3.0 of the plugin and above. You need to use an older version; the above link suggests the following (works for me):

    mvn org.apache.maven.plugins:maven-dependency-plugin:2.10:tree -Dverbose=true
    
    0 讨论(0)
提交回复
热议问题