Last active
March 13, 2018 05:32
-
-
Save alexott/affbf25b69a142cc3f71af278509e31e to your computer and use it in GitHub Desktop.
Snippet to find corrupted JAR in Maven repository
This file contains 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
for i in `find ~/.m2/repository/ -name \*.jar`; do unzip -l $i 2> /dev/null > /dev/null ; RES=$?; if [ $RES -ne 0 ]; then echo "$i: $RES" ; fi ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment