[ 
https://issues.apache.org/jira/browse/AMBARI-25966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17744338#comment-17744338
 ] 

Mohammad Arshad commented on AMBARI-25966:
------------------------------------------

maven-dependency-plugin is used in many other modules, but in all the modules 
either version is mentioned or <excludeScope> is not present. That is why build 
is not failing in other modules.

Only ambari-metrics-timelineservice module have not configured version, also it 
has  <excludeScope> config. So change is required only in 
ambari-metrics-timelineservice module.

> Ambari branch-2.7 CI is consistently failing
> --------------------------------------------
>
>                 Key: AMBARI-25966
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25966
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>            Reporter: Mohammad Arshad
>            Assignee: Mohammad Arshad
>            Priority: Major
>             Fix For: 2.7.8
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Ambari branch-2.7 CI is consistently failing. It fails while building ambari 
> metrics.
> Following build command is failing
> {noformat}
> mvn -T 3C install -DskipSurefireTests -DskipPythonTests 
> -Dmaven.test.failure.ignore -DskipTests -Dfindbugs.skip -Drat.skip 
> -Dmaven.artifact.threads=10
> {noformat}
> Above command fails with following error
> {noformat}
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] ambari-utility 1.0.0.0-SNAPSHOT .................... SUCCESS [ 15.300 
> s]
> [INFO] ambari-metrics 2.7.8.0.0 ........................... SUCCESS [  0.268 
> s]
> [INFO] Ambari Metrics Common 2.7.8.0.0 .................... SUCCESS [ 10.231 
> s]
> [INFO] Ambari Metrics Hadoop Sink 2.7.8.0.0 ............... SUCCESS [  4.942 
> s]
> [INFO] Ambari Metrics Flume Sink 2.7.8.0.0 ................ SUCCESS [  4.901 
> s]
> [INFO] Ambari Metrics Kafka Sink 2.7.8.0.0 ................ SUCCESS [  4.949 
> s]
> [INFO] Ambari Metrics Storm Sink 2.7.8.0.0 ................ SUCCESS [  5.982 
> s]
> [INFO] Ambari Metrics Storm Sink (Legacy) 2.7.8.0.0 ....... SUCCESS [  5.943 
> s]
> [INFO] Ambari Metrics Collector 2.7.8.0.0 ................. FAILURE [ 57.918 
> s]
> [INFO] Ambari Metrics Monitor 2.7.8.0.0 ................... SUCCESS [  1.842 
> s]
> [INFO] Ambari Metrics Grafana 2.7.8.0.0 ................... SUCCESS [  7.128 
> s]
> [INFO] Ambari Metrics Host Aggregator 2.7.8.0.0 ........... SUCCESS [ 20.437 
> s]
> [INFO] Ambari Metrics Assembly 2.7.8.0.0 .................. SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  01:24 min (Wall Clock)
> [INFO] Finished at: 2023-07-12T18:27:23Z
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-dependency-plugin:3.6.0:copy-dependencies 
> (default) on project ambari-metrics-timelineservice: Excluding every artifact 
> inside 'test' resolution scope means excluding everything: you probably want 
> includeScope='compile', read parameters documentation for detailed 
> explanations -> [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/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <args> -rf :ambari-metrics-timelineservice
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org

Reply via email to