I do a mvn dependendy:tree
and get something like:
|
+- some.dependency:for-test:jar:1.2.3:test <---- for test only
+- ...
+- ...
+- some.other.dependency:big-dependency:jar:compile <---- include compile dependency?
+- lots.of.big:dependencies
Question: Why would a test dependency bring compile dependencies?
Sub-question: I am asking because I try to reduce the size of a shaded jar. How do I get ride of those?
Note: in the tree, the included compiled dependency some.other.dependency:big-dependency
appear nowhere else in the tree.