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

   Contributes to #13467 (Quick Win 1).
   
   This PR migrates the console event loggers (`PlainExecutionEventLogger`, 
`RichExecutionEventLogger`, and `MachineExecutionEventLogger`) from Maven 3's 
`ExecutionListener` to the Maven 4 v4 API 
(`org.apache.maven.api.ExecutionListener`).
   
   Key changes:
   - Migrated plain, rich, and machine loggers to use v4 `ExecutionEvent`, 
`Project`, and `Session`.
   - Added `ExecutionListenerAdapter` to wrap v4 listeners so `MavenInvoker` 
and existing callers continue to work as-is without breaking changes.
   - Added v4 `ExecutionEvent` handling and `initReactor(Session)` to 
`RichBuildEventListener`.
   - Added support for reactor resumption (`--resume-from`) and duration 
tracking through the adapter.
   - Updated the existing unit tests in `impl/maven-cli` to test through the 
adapter.
   
   Tested locally: all 49 tests in `maven-cli` pass and checkstyle has 0 
violations.
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [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