Firefox
Firefox

Reputation: 951

How to figure out used JARs?

In a bigger project we might be using tons of JARs. How do I find out which JARs are being used by a certain module/package in the project (not the whole project). Any tool, technique, etc?

Upvotes: 3

Views: 753

Answers (2)

Raghuram
Raghuram

Reputation: 52625

Bigger projects typically use a build tool like maven or ant. maven has the maven dependency plugin to list the dependencies for a particular project which you invoke by mvn dependency:list. In case of ant, it depends on the way the build script is written.

Maybe you should give more details about your project environment and you may get better answers.

Upvotes: 2

Related Questions