adoroszlai opened a new pull request, #9787:
URL: https://github.com/apache/ozone/pull/9787

   ## 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


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to