gnodet opened a new pull request, #13861: URL: https://github.com/apache/maven/pull/13861
Port of #13799 (maven-3.10.x) to maven-4.0.x, compat layer only. Logging caches `System.out`; in the absence of an explicit log file, terminal installation runs asynchronously and replaces `System.out`. Without waiting, the logger may cache the original stream while the terminal installs a wrapped one, causing parallel output corruption. Changes: - Add `MessageUtils.awaitTerminalInitialization()` to `impl/maven-jline` (same pattern as 3.10.x) - Call it from `compat/maven-embedder`'s `MavenCli.logging()` before activating the SLF4J configuration, except when color is explicitly forced (`always`/`yes`/`force`) See also: apache/maven#13793 (issue), apache/maven#13799 (3.10.x fix) -- 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]
