Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to figure out used JARs?

Tags:

java

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?

like image 777
Firefox Avatar asked Dec 06 '25 16:12

Firefox


1 Answers

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.

like image 171
Raghuram Avatar answered Dec 08 '25 05:12

Raghuram



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!