[摘自] http://stackoverflow.com/questions/5074063/maven-error-failure-to-transfer
Remove all your failed downloads:
Linux:
find ~/.m2 -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} \;
Windows:
cd %userprofile%\.m2\repository
for /r %i in (*.lastUpdated) do del %i