maven项目pom.xml报错: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from
2014-04-23 15:55
841 查看
maven项目pom.xml报错:
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
原因是maven的plugin并未下载到本地.
打开maven的本地库...\repository\org\apache\maven\plugins\maven-surefire-plugin\2.10会发现:里面少只有一个maven-surefire-plugin-2.10.pom.lastUpdated,而没有maven-surefire-plugin-2.10.jar
解决方法:
1.删除maven-surefire-plugin-2.7.1.pom.lastUpdated文件
2.右键点击project -> Maven - Update Dependencies
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
原因是maven的plugin并未下载到本地.
打开maven的本地库...\repository\org\apache\maven\plugins\maven-surefire-plugin\2.10会发现:里面少只有一个maven-surefire-plugin-2.10.pom.lastUpdated,而没有maven-surefire-plugin-2.10.jar
解决方法:
1.删除maven-surefire-plugin-2.7.1.pom.lastUpdated文件
2.右键点击project -> Maven - Update Dependencies
相关文章推荐
- maven项目pom.xml报错: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from
- 异常Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from http://maven.al
- Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.18.1 from .....
- Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1
- Maven error in eclipse (pom.xml) : Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4
- WebMagic编译时提示Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.18的解决方法
- Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4
- 解决Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4
- eclipse安装maven插件开发WEB项目,解决错误:Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom
- Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4
- Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4
- Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.5.1 from ...
- Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.18.1
- Failure to transfer org.apache.maven.plugins:maven-war-plugin:pom:2.2 from https://repo.maven.apache
- Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4
- Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4
- Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1
- Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:p
- 解决:Failure to find org.apache.maven.plugins:maven-surefire-plugin:pom:2.10 这样的问题
- Maven Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6