0

我在这里搜索 oozie 的二进制分布:

http://apache.mirrors.tds.net/oozie/3.3.2/

它只有源代码分发。二进制分发不可用吗?

所以,我尝试使用从这个源构建

./bin/mkdistro.sh

一切顺利,但停在了一点:

[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Oozie Core 3.3.2
[INFO] ------------------------------------------------------------------------
[WARNING] Could not transfer metadata asm:asm/maven-metadata.xml from/to local.repository (file:../../local.repository/trunk): No connector available to access repository local.repository (file:../../local.repository/trunk) of type legacy using the available factories WagonRepositoryConnectorFactory
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ oozie-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ oozie-core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 12 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oozie-core ---
[INFO] Compiling 385 source files to /usr/local/oozie/oozie/core/target/classes
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (default) @ oozie-core ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-dependency-plugin:2.4:build-classpath (create-mrapp-generated-classpath) @ oozie-core ---
[INFO] Wrote classpath file '/usr/local/oozie/oozie/core/target/test-classes/mrapp-generated-classpath'.
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ oozie-core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 79 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ oozie-core ---
[INFO] Compiling 245 source files to /usr/local/oozie/oozie/core/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ oozie-core ---
[INFO] Surefire report directory: /usr/local/oozie/oozie/core/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Concurrency config is parallel='classes', perCoreThreadCount=false, threadCount=1, useUnlimitedThreads=false
./bin/mkdistro.sh: line 71:  6907 Killed                  mvn clean package assembly:single ${MVN_OPTS} "$@"

ERROR, Oozie distro creation failed

有人可以指出我的二进制发行版或帮助我解决这个构建问题吗?

我有 Maven 版本 3。

还尝试了以下选项,但没有帮助。

$ export MAVEN_OPTS=-Xmx1024m
4

1 回答 1

0

我使用的是导致此问题的 OpenJDK。

切换到 Sun/Oracle JDK 6,构建顺利。

于 2013-05-28T18:35:36.657 回答