Maven2 Failure to transfer

 

Remove all your failed downloads:

For Linux
find ~/.m2 -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} \;


For windows:

cd %userprofile%\.m2\repository
for /r %i in (*.lastUpdated) do del %i

rightclick on your project in eclipse and choose Maven->Update Dependencies

posted @ 2015-06-12 13:55  zhh  阅读(130)  评论(0编辑  收藏  举报