I have a Java project with a large classpath - many of the items are imported from different .jar files that have been added as dependencies (via Maven).
I\'m lookin
There is no way to do this unless you create your own metadata.
To the JVM, there is no distinction between items in the classpath. A jar is a jar is a jar.
You can use the maven-dependency-plugin to write out a list of the dependencies that are local, and not transitive, and write that into a file, and put that file in your application.