pin commons-configuration2 version to 2.15.0#38779
Conversation
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request upgrades commons_io to version 2.19.0 and forces the use of commons-configuration2:2.15.0 in the HBase and Iceberg Hive subprojects. The reviewer recommends centralizing the definition of commons_configuration2 in BeamModulePlugin.groovy and referencing it in the subprojects' build files to avoid hardcoding dependency coordinates across multiple files.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| commons_compress : "org.apache.commons:commons-compress:1.26.2", | ||
| commons_csv : "org.apache.commons:commons-csv:1.8", | ||
| commons_io : "commons-io:commons-io:2.16.1", | ||
| commons_io : "commons-io:commons-io:2.19.0", |
There was a problem hiding this comment.
Define commons_configuration2 centrally in BeamModulePlugin.groovy so that it can be referenced across subprojects (like hbase and iceberg) instead of hardcoding the version string in multiple places.
commons_configuration2 : "org.apache.commons:commons-configuration2:2.15.0",
commons_io : "commons-io:commons-io:2.19.0",
| configurations.all { | ||
| resolutionStrategy { | ||
| // TODO: remove after higher version of hbase (>2.6.5) contains this minimum version. | ||
| force 'org.apache.commons:commons-configuration2:2.15.0' |
There was a problem hiding this comment.
| exclude group: "org.apache.parquet", module: "parquet-hadoop-bundle" | ||
| // TODO: remove after higher version of hbase (>2.6.5) contains this minimum version. | ||
| resolutionStrategy { | ||
| force 'org.apache.commons:commons-configuration2:2.15.0' |
There was a problem hiding this comment.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>instead.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.