gnodet opened a new pull request, #12345:
URL: https://github.com/apache/maven/pull/12345

   ## Summary
   
   Backport of the JUL-to-SLF4J bridge fix to the `maven-4.0.x` branch.
   
   Libraries that use `java.util.logging` (JUL) currently write their log 
output directly to `stderr`, bypassing Maven's logging configuration. This PR 
adds the `jul-to-slf4j` bridge so that JUL output is routed through SLF4J and 
Maven's logging system.
   
   ### Changes
   
   - **pom.xml**: Add `jul-to-slf4j` to dependency management
   - **apache-maven/pom.xml**: Add `jul-to-slf4j` as a runtime dependency
   - **impl/maven-cli/pom.xml**: Add `jul-to-slf4j` dependency
   - **LookupInvoker.java**: Install `SLF4JBridgeHandler` at the start of 
`activateLogging()` to redirect JUL to SLF4J
   
   ## Test plan
   
   - [x] Verify build compiles with the new dependency
   - [ ] Run Maven with a plugin/library that uses JUL and confirm its log 
output goes through Maven's logging instead of raw stderr
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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

Reply via email to