I follow the instruction on the following link to build rpm on centos 6, but fails with the following message.
https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development And this is the command I use to build: mvn -B clean install package rpm:rpm -DskipTests -Dpython.ver="python >= 2.6" npm http GET https://registry.npmjs.org/kind-of/-/kind-of-2.0.1.tgz npm http GET https://registry.npmjs.org/longest/-/longest-1.0.1.tgz npm http 200 https://registry.npmjs.org/longest/-/longest-1.0.1.tgz npm http 200 https://registry.npmjs.org/kind-of/-/kind-of-2.0.1.tgz npm http GET https://registry.npmjs.org/is-buffer npm http 304 https://registry.npmjs.org/is-buffer npm http GET https://registry.npmjs.org/jsbn npm http GET https://registry.npmjs.org/dashdash npm http 304 https://registry.npmjs.org/jsbn npm http 304 https://registry.npmjs.org/dashdash npm http GET https://registry.npmjs.org/assert-plus npm http 304 https://registry.npmjs.org/assert-plus npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /vagrant/ambari/ambari-web/npm-debug.log // this file is empty npm ERR! not ok code 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Ambari Main ........................................ SUCCESS [06:47 min] [INFO] Apache Ambari Project POM .......................... SUCCESS [ 0.555 s] [INFO] Ambari Web ......................................... FAILURE [02:24 min] -- Best Regards Jeff Zhang
