Skip to content

Instantly share code, notes, and snippets.

@ru-rocker
Created December 1, 2017 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ru-rocker/a61162964aac135c83ccd4af9a77dd0e to your computer and use it in GitHub Desktop.
Save ru-rocker/a61162964aac135c83ccd4af9a77dd0e to your computer and use it in GitHub Desktop.
How to find corrupted jar files in local repo
find ~/.m2/repository/ -name "*jar" | xargs -L 1 zip -T | grep error | grep invalid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment