Skip to content

Instantly share code, notes, and snippets.

@sasuw
Created May 17, 2018 12:53
Show Gist options
  • Select an option

  • Save sasuw/6256ca2b21f511170ee0e5e917e2168e to your computer and use it in GitHub Desktop.

Select an option

Save sasuw/6256ca2b21f511170ee0e5e917e2168e to your computer and use it in GitHub Desktop.
Find invalid jar files in maven repository
#!/bin/bash
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