Re: Can Mojos output color?

2019-08-08 Thread Robert Scholte
As you might have noticed, plugins like maven-surefire-plugin, maven-failsafe-plugin and maven-dependency-plugin contain ANSI coloring support, so yes it is possible at mojo-level. They create a MessageBuilder via MessageUtils[1]. And yes, there are only a small set of methods available to

Can Mojos output color?

2019-08-07 Thread Gili
Looking at https://issues.apache.org/jira/browse/MNG-3507 and https://github.com/eirslett/frontend-maven-plugin/issues/833#issuecomment-518996810 I am wondering if Maven plugins have the ability to output ANSI colors, and if so how. Are plugins expected to output to stdout/stderr to make use of