2014-09-26 112 views
-1

我很新的Maven的时候,我综合行家在Eclipse,当我想我现有的 项目转换成行家我收到以下错误:Maven的故障转移

http://repo.maven.apache.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. 
Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire- 
plugin:pom:2.12.4 from/to central (http://repo.maven.apache.org/maven2): repo.maven.apache.org 

我不知道是什么这是?请指导我。

+0

使用-e运行命令以便看到异常。那么请在这里粘贴更多的构建日志,不仅仅是2行。 – 2014-09-26 07:36:20

回答

0

您无法下载您对maven-surefire插件的依赖。

验证您的maven设置是否正确(配置了代理),然后使用maven -U命令行参数重试获取依赖关系。

如果问题仍然存在,请尝试使用-X命令行参数调试maven流程。