Maven colors logging output by default when possible (`--color=auto`, see https://maven.apache.org/ref/3.8.7/maven-embedder/cli.html), so Maven code (including plugins) should log errors via the logging API used by Maven (SLF4J, see https://maven.apache.org/maven-logging.html) instead of `System.err`.
Or are you looking to colorize errors from your application when it is run by Maven, instead of errors logged by Maven or one of its plugins? Nils. > Op 3 mei 2024 om 12:25 heeft Arbol One <arbol...@hotmail.ca> het volgende > geschreven: > > Debian 12 > NetBeans 21 > Apache Maven 3.8.7 > > Hello. > > When using the Ant tool System.err.println() displays data in red, however, > when using Maven, the same expression does not produce a coloured output. > I'd very much like the ..err.. output be in red colour. So, what can I do to > make Maven display ..err.. outputs in red? > > > -- > */ArbolOne.ca/* Using Fire Fox and Thunderbird. ArbolOne is composed of > students and volunteers dedicated to providing free services to charitable > organizations. ArbolOne on Java Development is in progress [ í ]