ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fay wang <fay.y.w...@gmail.com>
Subject fail to compile using maven
Date Sat, 28 Mar 2015 19:40:55 GMT
Hi,
   I encountered the following error when maven to build Ambari on ubuntu:

mvn -B clean install package jdeb:jdeb -DnewVersion=1.7.0.0 -DskipTests
-Dpython.ver="python >= 2.6"


[INFO] ------------------------------
------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [4.467s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.979s]
[INFO] Ambari Web ........................................ FAILURE
[1:09.648s]
[INFO] Ambari Views ...................................... SKIPPED
[INFO] Ambari Admin View ................................. SKIPPED
[INFO] Ambari Server ..................................... SKIPPED
[INFO] Ambari Agent ...................................... SKIPPED
[INFO] Ambari Client ..................................... SKIPPED
[INFO] Ambari Python Client .............................. SKIPPED
[INFO] Ambari Groovy Client .............................. SKIPPED
[INFO] Ambari Shell ...................................... SKIPPED
[INFO] Ambari Python Shell ............................... SKIPPED
[INFO] Ambari Groovy Shell ............................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1:16.032s
[INFO] Finished at: Sat Mar 28 12:21:53 PDT 2015
[INFO] Final Memory: 25M/365M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (compile) on project
ambari-web: An Ant BuildException has occured: exec returned: 127
[ERROR] around Ant part ...<exec failonerror="true"
dir="/usr/local/ambari/ambari-1.7.0/ambari-web" executable="brunch">... @
8:96 in
/usr/local/ambari/ambari-1.7.0/ambari-web/target/antrun/build-ambari-web-compile.xml
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (compile) on
project ambari-web: An Ant BuildException has occured: exec returned: 127
around Ant part ...<exec failonerror="true"
dir="/usr/local/ambari/ambari-1.7.0/ambari-web" executable="brunch">... @
8:96 in
/usr/local/ambari/ambari-1.7.0/ambari-web/target/antrun/build-ambari-web-compile.xml
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)


Any help is greatly appreciated.

-fay

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message