2014-09-26 207 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流程。