我试图用Maven加载一个库(Neo4j Spatial,确切地说)。我指定了以下存储库,如Spatial的README.md中所述:
<repositories>
<repository>
<id>neo4j-contrib-releases</id>
<url>https://raw.github.com/neo4j-contrib/m2/master/releases</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>neo4j-contrib-snapshots</id>
<url>https://raw.github.com/neo4j-contrib/m2/master/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
然而,我收到此错误:
The container 'Maven Dependencies' references non existing library 'C:\Users\root\.m2\repository\org\neo4j\neo4j-spatial\0.15-neo4j-2.2.3\neo4j-spatial-0.15-neo4j-2.2.3.jar'
这表明Maven只搜索了我的本地存储库,并拒绝查看指定的远程存储库。知道发生了什么,怎么办?