Maven install 问题

匿名 (未验证) 提交于 2019-12-02 23:41:02

eclipse 里面,父工程下有多个子工程,安装了一个pojo工程成功,再安装一个interface工程时失败.

[INFO] Scanning for projects... [INFO]                                                                          [INFO] ------------------------------------------------------------------------ [INFO] Building xxx-interface 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.501 s [INFO] Finished at: 2019-06-12T14:06:02+08:00 [INFO] Final Memory: 7M/123M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project xxx-sellergoods-interface: Could not resolve dependencies for project com.xxx:xxx-sellergoods-interface:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.xxx:xxx-pojo:jar:0.0.1-SNAPSHOT: Failed to read artifact descriptor for com.xxx:xxx-pojo:jar:0.0.1-SNAPSHOT: Could not find artifact com.xxx:xxx-parent:pom:0.0.1-SNAPSHOT -> [Help 1] [ERROR]  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR]  [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

此时,直接install父工程解决问题。

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!