hazendaz commented on issue #14018: URL: https://github.com/apache/maven/issues/14018#issuecomment-6966447318
After looking at your PR, I'm wondering if we can simplify this further. For Java 22+, why not simply trust `Console.isTerminal()`? In my environment (Java 27), it correctly returns true despite GitHub Desktop providing none of the environment variables currently used by Maven. Those variables clearly aren't required for ANSI output, and their absence shouldn't be interpreted as a lack of terminal support. For older Java versions, we'd obviously need a fallback since the API isn't available. -- 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]
