當我嘗試構建我的項目幷包含Neo4j-rest-graphdb依賴項時,構建失敗。我嘗試了幾個不同的版本,結果相同。當我嘗試在構建中包含neo4j-rest-graphdb時,我的maven構建失敗
我在我的依賴中包含了org.neo4j。
我真正想要做的就是用我的java代碼訪問圖形本地數據庫。
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GraphDatabaseConnector 0.1
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.neo4j:neo4j-rest-graphdb:jar:2.0.0-SNAPSHOT is missing
, no dependency information available
[WARNING] The POM for org.neo4j:neo4j:jar:2.0.0-SNAPSHOT is missing, no dependen
cy information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.375s
[INFO] Finished at: Sun Nov 24 22:56:58 CET 2013
[INFO] Final Memory: 4M/122M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project GraphDatabaseConnector: Could not reso
lve dependencies for project se.morkeleb:GraphDatabaseConnector:jar:0.1: The fol
lowing artifacts could not be resolved: org.neo4j:neo4j-rest-graphdb:jar:2.0.0-S
NAPSHOT, org.neo4j:neo4j:jar:2.0.0-SNAPSHOT: Failure to find org.neo4j:neo4j-res
t-graphdb:jar:2.0.0-SNAPSHOT in http://m2.neo4j.org was cached in the local repo
sitory, resolution will not be reattempted until the update interval of neo has
elapsed or updates are forced -> [Help 1]
謝謝
的可能重複http://stackoverflow.com/questions/4856307/when-maven-says-resolution-將不會被reattempted,直到更新間隔 –
推薦版本的neo4j 2.0的java-rest-binding目前是:[2.0.0-M06](http://m2.neo4j.org/內容/庫/發行/組織/的Neo4j/Neo4j的休息,graphdb/2.0.0-M06 /) –