我正在尝试从https://github.com/neo4j/neo4j.git构建Neo4j。我正在运行Ubuntu 13.10(32位),Maven 3.0.4和Oracle JDK 1.7.0_45。
我正在使用
在父POM下构建它$ mvn clean install -DminimalBuild -Dlicense.skip=true
但是构建失败了:
enter code here------------------------------------------------------------------------
[INFO] Building Neo4j - JMX support 2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Neo4j ............................................. SUCCESS [0.683s]
[INFO] Licensing configuration ........................... SUCCESS [1.783s]
[INFO] Neo4j - Graph Database Kernel ..................... SUCCESS [24.188s]
[INFO] Neo4j - JMX support ............................... FAILURE [0.033s]
[INFO] Neo4j - Usage Data Collection ..................... SKIPPED
[INFO] Neo4j - Graphviz generation ....................... SKIPPED
[INFO] Neo4j - Lucene Index .............................. SKIPPED
[INFO] Neo4j - Graph Algorithms .......................... SKIPPED
[INFO] Neo4j - Graph Matching ............................ SKIPPED
[INFO] Neo4j - Cypher Compile 1.9 ........................ SKIPPED
[INFO] Neo4j - Cypher Compile 2.0 ........................ SKIPPED
[INFO] Neo4j - Cypher .................................... SKIPPED
[INFO] Neo4j Community ................................... SKIPPED
[INFO] Neo4j Community ................................... SKIPPED
[INFO] Neo4j - Generic shell ............................. SKIPPED
[INFO] Neo4j Examples .................................... SKIPPED
[INFO] Neo4j Server API .................................. SKIPPED
[INFO] Neo4j Server ...................................... SKIPPED
[INFO] Neo4j Server Examples ............................. SKIPPED
[INFO] Neo4j - Server Plugin Tests ....................... SKIPPED
[INFO] Neo4j Community Build ............................. SKIPPED
[INFO] Neo4j - Graph DB Monitoring and Management tools .. SKIPPED
[INFO] Neo4j Advanced .................................... SKIPPED
[INFO] Neo4j Advanced Server ............................. SKIPPED
[INFO] Neo4j Advanced Build .............................. SKIPPED
[INFO] Neo4j - Communication Package ..................... SKIPPED
[INFO] Neo4j - Clustering Infrastructure ................. SKIPPED
[INFO] Neo4j - Consistency Checker ....................... SKIPPED
[INFO] Neo4j - Backup Tool ............................... SKIPPED
[INFO] Neo4j - High Availability ......................... SKIPPED
[INFO] Neo4j Enterprise .................................. SKIPPED
[INFO] Neo4j Enterprise Server ........................... SKIPPED
[INFO] Neo4j - Enterprise Performance Tests .............. SKIPPED
[INFO] Neo4j Enterprise Build ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29.571s
[INFO] Finished at: Wed Oct 23 18:16:07 BST 2013
[INFO] Final Memory: 42M/301M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project neo4j-jmx: Could not resolve dependencies for
project org.neo4j:neo4j-jmx:jar:2.0-SNAPSHOT: Failure to find org.neo4j:neo4j-
kernel:jar:tests:2.0-SNAPSHOT in http://m2.neo4j.org/content/repositories/snapshots/
was cached in the local repository, resolution will not be reattempted until the update
interval of neo4j-snapshot-repository has elapsed or updates are forced -> [Help 1]
我在Windows 7下遇到了同样的问题。
感谢任何帮助。
答案 0 :(得分:1)
问题现已解决。社区/ jmx项目依赖于社区/内核测试jar,它只在jmx项目之后构建。作为Maven noob,我不确定Maven是否应该从快照存储库获取依赖关系。无论如何,我现在在本地拥有工具。