.net

.net

博客园 首页 新随笔 联系 订阅 管理

maven clean package 时出现Failed to read artifact descriptor for的问题

 

[ERROR] Failed to execute goal on project eii-frame-common: Could not resolve dependencies for project com.eii.frame.common:eii-frame-common:jar:2.1: Failed to collect dependencies at com.eii.frame.core:eii-frame-core:jar:2.1: Failed to read artifact descriptor for com.eii.frame.core:eii-frame-core:jar:2.1: Failure to find com.eii.frame:eii-frame:pom:2.1 in http://120.24.1.1:8087/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]

 

解决办法:

把parent工程,也就是package是pom的那个工程先install一下。

要是不行的话可以试下mvn -X clean install,-X表示强制从远程库更新dependency;再不行可能就是远程仓库没有架包了。

 

posted on 2017-02-08 17:41  航宇  阅读(873)  评论(0编辑  收藏  举报