[ERROR] Failed to execute goal on project test-user: Could not resolve dependencies for project com.mine:test-user🏺1.0.1-SNAPSHOT: Failed to collect dependencies at com.mine:test-repo🏺1.0.1-SNAPSHOT: Failed to read artifact descriptor for com.mine:test-repo🏺1.0.1-SNAPSHOT: Could not find artifact com.mine:test:pom:1.0.1-SNAPSHOT -> [Help 1]
[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
项目结构 com.mine.test[parent]
com.mine.test-common,
com.mine.test-repo,
com.mine.test-user 为三个子模块,
test-common 依赖test-repo,test-user 依赖test-common 和 test-repo
在编译test-common 和 test-user 是都报错
请问是怎么回事?
先编译test-repo并且install到本地仓库
然后在编译test-common
cd test-repo
mvninstall
cd test-common
mvninstall
要吧com.mine:test-repo:jar:1.0.1-SNAPSHOT这个东西安装到本地或者私服
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。