codewithsinchana opened a new pull request, #13946: URL: https://github.com/apache/maven/pull/13946
This change adds support for writing a partial build report when Maven terminates unexpectedly. A shutdown hook is registered when the Maven session starts and attempts to collect and persist the build report if the session is interrupted before normal completion. The existing report generation and persistence logic is reused to preserve the information collected up to that point. The shutdown hook is removed when the session ends normally to avoid unnecessary execution and duplicate report generation. This helps retain useful build information for diagnosing interrupted or crashed Maven builds. - [ ] 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) -- 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]
