gnodet commented on PR #13946:
URL: https://github.com/apache/maven/pull/13946#issuecomment-7104521469

   Thank you @codewithsinchana for this contribution!
   
   This feature has been cherry-picked into #14077 (`feature/build-report`) 
where the shutdown hook was adapted to the Maven 4 `Session` API and 
strengthened with:
   - mvnd/embedded Maven reuse safety (`sessionStarted` now removes any 
leftover hook before resetting state)
   - Extracted `removeShutdownHook()` method called from both `sessionStarted` 
and `sessionEnded` to prevent resource leaks
   - Tests covering hook lifecycle, idempotency guard, and mvnd reuse
   
   Closing this PR in favour of #14077. Your authorship is preserved in the 
commit.


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