Hi all,

Maven can eat up a lot of disk space... I'm sharing those two Bash scripts I
use for freeing some space:

https://github.com/nicoulaj/dotfiles/blob/master/bin/mvn-clean-projects -
Looks for Maven projects in $HOME and does a "mvn clean"
https://github.com/nicoulaj/dotfiles/blob/master/bin/mvn-clean-repository -
Deletes artifacts that have not been used within the last 3 months from the
local repository.

Hopefully this will be useful to someone !

Regards,
Julien

Reply via email to