Maven:通过依赖项查找依赖项的使用情况?

时间:2016-07-04 14:53:48

标签: maven

我的项目com.example.foo使用了依赖关系com.example.bar。但它也使用com.example.baz,后者又使用com.example.bar

当我运行mvn dependency:tree时,我会得到类似

的内容
com.example.foo
+- com.example.bar
\- com.example.baz

问题:我怎样才能让maven在其输出中重复bar的依赖,就像这样(尊重我设置的任何过滤器选项,如-Dincludes=com.example.*):

com.example.foo
+- com.example.bar
\- com.example.baz
   \- com.example.bar

0 个答案:

没有答案
相关问题