使用mvn clean install
构建janusgraph示例时出现以下错误
[ERROR] Non-resolvable parent POM for
org.janusgraph:janusgraph-examples:[unknown-version]:
Could not find artifact org.janusgraph:janusgraph:pom:0.4.0 in alimaven
(http://maven.aliyun.com/nexus/content/groups/public/)
and 'parent.relativePath' points at wrong local POM
@ line 3, column 13 -> [Help 2]
根据错误,我打开了我的setting.xml
的Maven,镜像配置为
<mirrors>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirrors>
它说它在这个镜子中找不到,所以如果我换另一个镜子,它会起作用吗?所有镜像是否都相同(网络速度除外)?
答案 0 :(得分:2)
不,有大量不同内容的Maven存储库。不过,通常情况下,您会从MavenCentral提取大部分内容: