How to remove downloaded library from local Maven repository

Answered

I have downloaded several versions of different libraries from Maven since I started using IntelliJ.  This is starting to take up a substantial amount of disk space.  Many of these library versions are no longer needed.  I don't know much about Maven.  What is the best way to remove these unneeded libraries?

0
1 comment

You can delete the .m2 directory in your user home directory, then run mvn package for the project you work on. It will download only the libraries currently used by your project.

Generic Maven questions should be better asked at http://stackoverflow.com/.

0

Please sign in to leave a comment.