maven工程中pom.xml的错误

时间:2022-12-27 23:09:04

更新maven工程,出现如下错误信息。

Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.5 from http://mvn.hz.netease.com/artifactory/repo was cached in the local repository, resolution will not be reattempted until the update interval of artifactory has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.5 from/to artifactory

百度结果中有人提出删除plugins中.lastupdated结尾的文件。试之,药到病除。

详细请见

http://benworld.iteye.com/blog/1701189