今天使用开源框架JeeSite在pom文件中遇到一个错误
Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
解决过程:
在pom文件中加入
org.apache.maven.pluginsmaven-resources-plugin2.4.3
在项目根目录用命令行执行
==> man install 命令
然后回到Eclipse中刷新项目就OK了