kumaab opened a new pull request, #1301:
URL: https://github.com/apache/ranger/pull/1301
## What changes were proposed in this pull request?
Fixes the Ranger build before any module is compiled when it runs on Maven
3.10.0, which GitHub Actions runners now pick up. Two modules declare the same
dependencies twice in their <dependencies> section:
- audit-server/audit-dispatcher/dispatcher-hdfs/pom.xml
- audit-server/audit-dispatcher/dispatcher-solr/pom.xml
The duplicated dependencies are:
- ch.qos.logback:logback-classic
- com.fasterxml.jackson.core:jackson-databind
- com.google.guava:guava
- commons-io:commons-io
- javax.servlet:javax.servlet-api
- org.apache.commons:commons-lang3
Each one is declared once near the top of <dependencies> with no scope, and
again further down with <scope>provided</scope>. The duplicates were added by
RANGER-5520 (commit 3fd46dbef8).
Maven 3.9.x only logs a warning for this. Maven 3.10.0 treats it as a fatal
model-building error:
More details in present in jira.
## How was this patch tested?
CI run went past the earlier seen errors.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]