GuotaoLi created AMBARI-25536:
---------------------------------
Summary: Failed to execute goal on project
ambari-metrics-timelineservice
Key: AMBARI-25536
URL: https://issues.apache.org/jira/browse/AMBARI-25536
Project: Ambari
Issue Type: Bug
Components: ambari-metrics
Affects Versions: 2.7.5
Environment: RHEL 7
Reporter: GuotaoLi
Attempting to build Ambari with this command:
{code:java}
mvn -B clean install rpm:rpm -DnewVersion=2.7.5.0.0
-DbuildNumber=5895e4ed6b30a2da8a90fee2403b6cab91d19972 -DskipTests
-Dpython.ver="python >= 2.7"
{code}
Throws DependencyResolutionException:
{code:java}
[ERROR] Failed to execute goal on project ambari-metrics-timelineservice: Could
not resolve dependencies for project
org.apache.ambari:ambari-metrics-timelineservice:jar:2.7.5.0.0: The following
artifacts could not be resolved:
org.apache.phoenix:phoenix-core:jar:5.0.0.3.1.4.0-315,
org.apache.hadoop:hadoop-common:jar:3.1.1.3.1.4.0-315,
org.apache.hadoop:hadoop-annotations:jar:3.1.1.3.1.4.0-315,
org.apache.hadoop:hadoop-common:jar:tests:3.1.1.3.1.4.0-315,
org.apache.hadoop:hadoop-yarn-common:jar:tests:3.1.1.3.1.4.0-315,
org.apache.hadoop:hadoop-yarn-common:jar:3.1.1.3.1.4.0-315,
org.apache.hadoop:hadoop-yarn-api:jar:3.1.1.3.1.4.0-315,
org.apache.hadoop:hadoop-yarn-server-common:jar:3.1.1.3.1.4.0-315,
org.apache.phoenix:phoenix-core:jar:tests:5.0.0.3.1.4.0-315,
org.apache.hbase:hbase-testing-util:jar:2.0.2.3.1.4.0-315: Failure to find
org.apache.phoenix:phoenix-core:jar:5.0.0.3.1.4.0-315 in
https://repo.hortonworks.com/content/groups/public/ was cached in the local
repository, resolution will not be reattempted until the update interval of
apache-hadoop 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
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)