我希望有人能够帮助我解决一个困扰我的问题。
当我尝试从终端构建项目时,出现了以下错误:
Failed to read artifact descriptor for com.morrislgn.merchandising.common:test-data-utils:jar:0.3b-SNAPSHOT: Could not find artifact com.morrislgn.merchandising:merchandising:pom:0.3b-SNAPSHOT
这个common.test-data-utils
的jar包是由另一个项目创建并在此项目和另一个项目之间共享(另一个项目也无法构建,但这是另一个问题)。
我能够顺利地构建 com.morrislgn.merchandising.common:test-data-utils
,我可以在我的机器上的.m2
本地仓库中看到它所做的条目。我还在Eclipse中重新索引了我的仓库。
我的项目的POM文件中有以下条目:
<dependency>
<groupId>com.morrislgn.merchandising.common</groupId>
<artifactId>test-data-utils</artifactId>
<version>0.3b-SNAPSHOT</version>
</dependency>
这对我来说似乎是正确的 - 当在Eclipse中查看POM时,也没有报告任何错误。
有人能告诉我在这里我错过了什么或者做错了什么吗?
maven-default-http-blocker(http://0.0.0.0/):Blocked mirror for repositories:
,请查阅此链接:https://dev59.com/jlEG5IYBdhLWcg3wX731 - aksh1618