geyanggang opened a new pull request, #11271:
URL: https://github.com/apache/gravitino/pull/11271
### What changes were proposed in this pull request?
Add a global `resolutionStrategy.force` in the root `build.gradle.kts` to
upgrade transitive `commons-beanutils` from 1.9.4 (and older) to 1.11.0
across all subprojects.
The previous fix (#11166) only applied `constraints` to
`hive-metastore2-libs`
and `hive-metastore3-libs`. Other modules (catalog-hive, catalog-fileset,
catalog-lakehouse-paimon, catalog-lakehouse-generic, client-java,
filesystem-hadoop3, flink-connector, maintenance:jobs, etc.) still resolved
the outdated transitive version.
### Why are the changes needed?
Multiple modules still pulled `commons-beanutils:1.9.4` (or older) as a
transitive dependency from Hadoop, Hive, Spark, and Flink. The
`resolutionStrategy.force` approach ensures all configurations in all
subprojects resolve to 1.11.0, regardless of what version is requested
transitively.
Fix: #11165
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
- Verified all modules resolve `commons-beanutils` to 1.11.0 via
`./gradlew <module>:dependencies`
- Full compilation: `./gradlew build -x test`
- Unit tests: `./gradlew test -PskipITs`
--
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]