Skip to content

Build: Remove unused test dependencies - #19060

Open
Fokko wants to merge 1 commit into
apache:mainfrom
Fokko:build-remove-unused-test-deps
Open

Fokko wants to merge 1 commit into
apache:mainfrom
Fokko:build-remove-unused-test-deps

Conversation

@Fokko

@Fokko Fokko commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

This removes test dependency declarations that have no effect: jakarta-el-api in iceberg-nessie, which the Nessie test extension already overrides with a newer version, and hadoop-hdfs in the Flink modules, which hadoop-minicluster already brings in. In iceberg-aliyun, jackson-dataformat-xml is replaced by jackson-databind, which is all the OSS mock uses.


AI Disclosure

  • Model: Claude Opus 5.5
  • Platform/Tool: Claude Code
  • Human Oversight: Yes!
  • Prompt Summary: Remove the remaining unused test dependencies identified in the dependency audit, verifying each with test runs.

This pull request and its description were written by Isaac.

jakarta-el-api in iceberg-nessie is always overridden by the version the
Nessie test extension pulls in, and hadoop-hdfs in the Flink modules
already arrives through hadoop-minicluster. The aliyun OSS mock only needs
jackson-databind, not jackson-dataformat-xml.

Generated-by: Claude Code

Co-authored-by: Isaac <no-reply@databricks.com>
Comment thread build.gradle
Comment on lines -1066 to -1067
// Need to "pull in" el-api explicitly :(
testImplementation libs.jakarta.el.api

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why it's no longer needed: with Nessie 0.110.0, dependencyInsight shows jakarta.el-api arriving through two paths:

- nessie-jaxrs-testextension → weld-se-core → weld-core-impl 6.0.4, which requests 6.0.1.
- jersey-test-framework-provider-bundle 4.0.3, which requests 5.0.1.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant