Created
July 26, 2018 10:40
-
-
Save jashaj/f3722cf1e0a51a156a3fe1cc6a9a2525 to your computer and use it in GitHub Desktop.
Delete snapshots in local maven repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/sh | |
| find ~/.m2/repository -name "*-SNAPSHOT" -type d -print -exec rm -r "{}" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment