UCDetector does not help for this: it does not work in JAR. And for classpathHelper, I could not find an easy way to simply specify JAR orphans (BTW, if anyone has a tutorial for this, I am interested).
So, if you also use Maven like me, I will recognize this great Maven plugin , and I would like to share this solution with you. Just enter:
mvn dependency:analyze
And you will immediately get a list of unused JARs in your dependencies. Very comfortably!
Raphael Jolivet Mar 16 2018-11-11T00: 00Z
source share