[
https://issues.apache.org/jira/browse/SUREFIRE-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17287443#comment-17287443
]
Falko Modler commented on SUREFIRE-1877:
----------------------------------------
SUREFIRE-1879 duplicates this issue, but it also has a reproducer.
> Can't print from a shutdown hook
> --------------------------------
>
> Key: SUREFIRE-1877
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1877
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 3.0.0-M5
> Reporter: Stuart Douglas
> Priority: Major
>
> In surefire 3.0.0-M5 any test output from a shutdown hook is not printed to
> the console, and is effectively lost, while this worked in 2.22.
>
> For some background my use case is automatically generating Jacoco reports in
> a shutdown hook without needing to configure a heap of different maven tasks
> (so that when using Quarkus Jacoco will 'just work' with no additional config
> required), my code just waits for the Jacoco agent to finish writing its
> data, then generates the report. If something goes wrong with this process
> any error is lost.
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)