[ https://issues.apache.org/jira/browse/AMBARI-10115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yusaku Sako resolved AMBARI-10115. ---------------------------------- Resolution: Done > Ambari 2.0 branch build failed > ------------------------------ > > Key: AMBARI-10115 > URL: https://issues.apache.org/jira/browse/AMBARI-10115 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.0.0 > Environment: CentOS 6.6 > Oracle JDK1.7 > Maven 3.0.5 > Python 2.6 > Eclipse Luna > Reporter: robinlin > Fix For: 2.0.0 > > > Hi all: > I am trying to build branch 2.0, and I follow the document > https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development > But it failed at the Ambari-server building. > {noformat} > [INFO] Checking for unpackaged file(s): /usr/lib/rpm/check-files > /root/git/ambari_2_0/ambari-admin/target/rpm/ambari-admin/buildroot > [INFO] Wrote: > /root/git/ambari_2_0/ambari-admin/target/rpm/ambari-admin/RPMS/noarch/ambari-admin-2.0.0-0.noarch.rpm > [INFO] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vPw43Z > [WARNING] + umask 022 > [WARNING] + cd /root/git/ambari_2_0/ambari-admin/target/rpm/ambari-admin/BUILD > [WARNING] + /bin/rm -rf > /root/git/ambari_2_0/ambari-admin/target/rpm/ambari-admin/buildroot > [WARNING] + exit 0 > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Ambari Server 2.0.0.0 > [INFO] > ------------------------------------------------------------------------ > [WARNING] The POM for org.apache.ambari:ambari-metrics-common:jar:2.0.0.0 is > missing, no dependency information available > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Ambari Main ....................................... SUCCESS [ 9.631 s] > [INFO] Apache Ambari Project POM ......................... SUCCESS [ 0.370 s] > [INFO] Ambari Web ........................................ SUCCESS [02:40 min] > [INFO] Ambari Views ...................................... SUCCESS [ 2.539 s] > [INFO] Ambari Admin View ................................. SUCCESS [ 31.006 s] > [INFO] Ambari Server ..................................... FAILURE [ 1.208 s] > [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] Ambari Metrics Common ............................. SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 03:26 min > [INFO] Finished at: 2015-03-18T14:57:10+08:00 > [INFO] Final Memory: 32M/190M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project ambari-server: Could not resolve > dependencies for project org.apache.ambari:ambari-server:jar:2.0.0.0: Failure > to find org.apache.ambari:ambari-metrics-common:jar:2.0.0.0 in > https://oss.sonatype.org/content/groups/staging was cached in the local > repository, resolution will not be reattempted until the update interval of > oss.sonatype.org has elapsed or updates are forced -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :ambari-server > {noformat} > Any help would be greatly appreciated. -- This message was sent by Atlassian JIRA (v6.3.4#6332)