码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-02-08 17:57:24      阅读:955      评论:0      收藏:0      [点我收藏+]

标签:common   nbsp   update   强制   cal   exe   pen   not   表示   

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;再不行可能就是远程仓库没有架包了。

 

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

标签:common   nbsp   update   强制   cal   exe   pen   not   表示   

原文地址:http://www.cnblogs.com/zmc/p/6379262.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!