I was going to tag this onto my previous post, but I figured the issue is
unique enough to be a different topic.


When I run dependency:tree (with an empty .m2),  I get a nice tree graph
showing 49 items.   I would expect then my .m2/repository to have 49 items
in it.  In actuality, my .m2 now has 251 artifacts.

I want to collect only the artifacts that my application needs to run.
Would I be safe if I just package up the 49 items listed in the dependency
tree output?

This would also be useful to reduce because I create my class path like so:
$ find ~/.m2/repository/ -name "*.jar" | xargs | sed 's/ /;/g'

The more I can remove from there, the better.


Thanks,
Dan

Reply via email to