Stephen Connolly / Quick and dirty remove -SNAPSHOTS from your local maven repository

Created Mon, 19 Jul 2010 00:00:00 +0000 Modified Mon, 19 Jul 2010 00:00:00 +0000

Works on *nix

find ~/.m2/repository -type d -name \*-SNAPSHOT -exec rm -rvf {} \;

By searching for the directories we should catch the -YYYYMMDD.HHMMSS format of snapshots also