My project, com.example.foo
, uses dependency com.example.bar
. But it also uses com.example.baz
, which in turn also uses com.example.bar
.
When I run mvn dependency:tree
, I get something like
com.example.foo
+- com.example.bar
\- com.example.baz
Question: How can I have maven repeat the dependency on bar
in its output, like so (respecting any filter options I set, like -Dincludes=com.example.*
):
com.example.foo
+- com.example.bar
\- com.example.baz
\- com.example.bar