Hello. Are you building whole project?
mvn clean package from root dir will work as is.

I guess you are running partial build for ambari-server, in such case you 
should add ambari-metrics/ambari-metrics to projects list (-pl or --projects).
So final command should be something like:
mvn clean package -pl 
ambari-views,ambari-admin,ambari-metrics/ambari-metrics-common,ambari-server

--
Regards,
Myroslav Papirkovskyy

________________________________________
Від: Scott Creeley <[email protected]>
Надіслано: 26 березня 2015 р. 16:14
Кому: [email protected]
Тема: Build Error - Any Ideas

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