apache giraph编译错误(从主干构建)

apache giraph编译错误(从主干构建),apache,build,giraph,Apache,Build,Giraph,我的机器上安装了hadoop,但我无法构建它。 感谢您的关注。看起来您只编译了示例项目。您必须导入父项目、核心项目和示例项目。然后,要为纯纱线编译Giraph主干,您可以使用: ===================Below is the error============================ [INFO] Building jar: /home/rob/dev/apache/giraph-trunk/giraph/giraph-core/target/giraph-1.1.0-

我的机器上安装了hadoop,但我无法构建它。
感谢您的关注。

看起来您只编译了示例项目。您必须导入父项目、核心项目和示例项目。然后,要为纯纱线编译Giraph主干,您可以使用:

===================Below is the error============================

[INFO] Building jar:
/home/rob/dev/apache/giraph-trunk/giraph/giraph-core/target/giraph-1.1.0-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar


[INFO] Total time: 1:12.383s
[INFO] Finished at: Mon Jan 20 17:25:46 PST 2014
[INFO] Final Memory: 31M/119M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project giraph-examples: Could not
resolve dependencies for project
org.apache.giraph:giraph-examples:jar:1.1.0-SNAPSHOT: Failure to find
org.apache.giraph:giraph-core:jar:tests:1.1.0-SNAPSHOT in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of
central has elapsed or updates are forced -> [Help 1]

顺便问一下,你的java版本是什么,maven版本?

你的工作正常了吗?
clean package -P hadoop_yarn -Dhadoop.version=2.2.0 -DskipTests