简体   繁体   中英

How to rectify all valid libs in a java project?

I am migrating a java project into a Maven project, so i have to check/validate all listed libs to figure out the uses ones.I mean i have to exclude the not using libraries (jar files).

So i figured out the one way is to go in.classpath file and comment each classpathentry and build and see if that is being used.And it is very tedious job:) Think about when you have a 20 year old product and with 200+ libs.

Please suggest some automate ways to do this in a single go.

Intellij tells you which libraries are not used: Files -> Project Structure -> Libraries

And also in Files -> Project Structure -> Problems

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM