opensearch-project / performance-analyzer

📈 Get detailed performance metrics from your cluster independently of the Java Virtual Machine (JVM)
https://opensearch.org/docs/latest/monitoring-plugins/pa/index/
Apache License 2.0
33 stars 67 forks source link

[BUG] Gradlew Build/Assemble failed #500

Closed CoderJeffrey closed 9 months ago

CoderJeffrey commented 1 year ago

What is the bug? ./gradlew build orgradlew assemble for latest version failed

Error Message:
Execution failed for task ':updateShas'.
> Could not resolve all dependencies for configuration ':runtimeClasspath'.
   > Conflict(s) found for the following module(s):
       - org.apache.logging.log4j:log4j-api between versions 2.20.0 and 2.17.1
       - org.apache.logging.log4j:log4j-core between versions 2.20.0 and 2.17.1
     Run with:
         --scan or
         :dependencyInsight --configuration runtimeClasspath --dependency org.apache.logging.log4j:log4j-api
     to get more insight on how to solve the conflict.

How can one reproduce the bug? git clone the main branch package, ./gradlew build

What is the expected behavior? Build Successful

Do you have any screenshots? image

Do you have any additional context? N/A

khushbr commented 9 months ago

Fixed at https://github.com/opensearch-project/performance-analyzer-commons/commit/0197ef09386c5517073a33268db0fc1612e9c1a8