mbien commented on code in PR #6843:
URL: https://github.com/apache/netbeans/pull/6843#discussion_r1426507958
##########
java/maven.embedder/src/org/netbeans/modules/maven/embedder/EmbedderFactory.java:
##########
@@ -56,6 +57,13 @@
*/
public final class EmbedderFactory {
+ static{
+ // disable Maven's ANSI CLI decorations
+ // maven-slf4j-provider injects MavenSimpleLogger which decorates the
output for terminal use
+ // this causes problems in log files, tests etc which don't expect or
cant display them properly
+ MessageUtils.setColorEnabled(false);
+ }
Review Comment:
@sdedic is this a good place to put it? My thinking is that this is probably
the main entry point into the lib wrapper module.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists