解决 Failure to transfer * from http://repo1.maven.org/maven2
Failure to transfer org.apache.maven:maven-archiver:pom:2.4.1 from http://repo1.maven.org/maven2 was cached in the local repository
可能是由于网络连接不好maven下载jar中断没成功。
解决办法
1、将maven目录下所有以 .lastupdate 结尾的文件全部删除掉
2、重新project -> Maven - Update Dependencies