Skip to content

Instantly share code, notes, and snippets.

@hellojinjie
Created June 26, 2013 13:11
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 hellojinjie/5867244 to your computer and use it in GitHub Desktop.
Save hellojinjie/5867244 to your computer and use it in GitHub Desktop.
由于网路的原因,我们在下载 jar 包或者 source 的时候,会中断,导致 maven 认为在 central repository 不存在这个文件。 这时我们可以手动删除不完整的 jar 包。
find . -name "*-lastUpdated" -or -name "*-not-available" -exec rm {} \;
find . -size 0 -exec rm {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment