Ambari Metrics (ambari-metrics) is a new depedency for Ambari Server. It’s 
similar in build to Ambari Views in that it’s part of the source hierarchy, but 
you need the JAR built and “installed” in maven.

If you’re building at the top level of Ambari, you should be able to do a “mvn 
compile package install” to get this put into your ~/.m2 directory. If you’re 
just building ambari-server, you’ll want to do the “mvn compile package 
install” in ambari-metrics first to ensure that the JARs are available.

> On Mar 26, 2015, at 10:14 AM, Scott Creeley <[email protected]> wrote:
> 
> Hi Everyone,
> Been a few months and I haven't build latest 2.0.0 trunk yet, did something 
> change or anyone else run into this?
> 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1:06.240s
> [INFO] Finished at: Thu Mar 26 08:59:33 GMT-05:00 2015
> [INFO] Final Memory: 41M/1262M
> [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-1: Could 
> not find artifact org.apache.ambari:ambari-metrics-common:jar:2.0.0-1 in 
> oss.sonatype.org (https://oss.sonatype.org/content/groups/staging) -> [Help 1]
> [ERROR] 
> 
> 
> I can run previous builds fine...so I'm only affected on 2.0.0
> 
> thanks,
> Scott

Reply via email to