Edit pom.xml and include
<configuration>
<packagingIncludes>WEB-INF/ lib/*.jar</packagingIncludes>
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