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

   ## Summary
   
   - Add `addArgument(Object)` and `addArgument(Supplier<?>)` to 
`LogEventBuilder`. Enabled builders evaluate each supplier at the call site; 
disabled builders never invoke it.
   - Preserve insertion order, including when the terminal template call 
supplies additional arguments. The standard logger still forwards the raw 
template and arguments; bootstrap keeps its existing formatting.
   - Leave terminal supplier overloads and call-site migration out of this 
first slice, as [agreed on the 
issue](https://github.com/apache/maven/issues/14188#issuecomment-7312857644).
   
   ## Verification
   
   - JDK 17: Spotless and the 14-module focused reactor passed, including all 
20 tests in `DefaultLoggerTest`, `BufferingArgumentTest`, and 
`LoggerManagerHolderTest`.
   - Bootstrap mutation control: dropping the builder's added arguments from 
terminal dispatch caused the regression test to fail; the submitted code passes.
   - Full `-Prun-its verify` stopped in `maven-impl` with five resolver-related 
test errors. The same five tests fail with the same exception types on the 
unmodified base. Both logs show the standalone resolver cannot resolve Maven 
Central in this environment (`UnknownHostException`). Full integration 
verification is not claimed.
   
   Addresses #14188 (fluent API slice only).
   
   AI assistance: OpenAI Codex.
   
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0).
   - [ ] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).


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