gnodet opened a new pull request, #13824: URL: https://github.com/apache/maven/pull/13824
Port of #13727 to `master`. Plugins calling `AnsiConsole.systemInstall()` raced Maven's own JLine terminal for `System.out`/`System.err` ownership. `maven-embedder` now provides `AnsiConsole`, `AnsiPrintStream` and `AnsiMode` forwarding shims (alongside the existing `Ansi` shim) so a plugin's own `org.fusesource.jansi:jansi` dependency resolves to these instead of the real `AnsiConsole`. The single `Ansi` named export in `extension.xml` is extended to all four classes the shim provides; the `jansi` artifact exclusion is kept and explained. Adaptation from `maven-3.10.x`: shims live in `compat/maven-embedder` (not `maven-jline`) to co-locate with the existing `Ansi` compat class. --- - [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) -- 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]
