Skip to content

HDDS-14606. Move dependency on slf4j-reload4j to runnable modules#9787

Open
adoroszlai wants to merge 1 commit intoapache:masterfrom
adoroszlai:HDDS-14606
Open

HDDS-14606. Move dependency on slf4j-reload4j to runnable modules#9787
adoroszlai wants to merge 1 commit intoapache:masterfrom
adoroszlai:HDDS-14606

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

hdds-common has runtime dependency on slf4j-reload4j, which leaks logger implementation into dependent projects. It should be declared only in runnable modules (e.g. ozone-tools, hdds-server-scm, etc.). slf4j-reload4j should be changed to test scope for other modules.

https://issues.apache.org/jira/browse/HDDS-14606

How was this patch tested?

Maven dependency tree. Examples:

[INFO] --- dependency:3.9.0:tree (default-cli) @ ozone-client ---
...
[INFO] \- org.slf4j:slf4j-reload4j:jar:2.0.17:test
...

[INFO] --- dependency:3.9.0:tree (default-cli) @ ozone-cli-shell ---
...
[INFO] +- org.slf4j:slf4j-reload4j:jar:2.0.17:runtime

[INFO] --- dependency:3.9.0:tree (default-cli) @ ozone-manager ---
...
[INFO] +- org.slf4j:slf4j-reload4j:jar:2.0.17:runtime

CI:
https://github.com/adoroszlai/ozone/actions/runs/22145027635

@adoroszlai adoroszlai self-assigned this Feb 18, 2026
@adoroszlai adoroszlai added the build Pull request that modifies the build process label Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Pull request that modifies the build process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments