This is an automated email from the ASF dual-hosted git repository.

mbien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 036d646003 Disable ANSI decorations for default (embedded) maven 
logger.
     new ce9ca1f0ae Merge pull request #6843 from mbien/mvn-embedder-no-ansi
036d646003 is described below

commit 036d64600348ed48096f308a35f87a45dd72f8d6
Author: Michael Bien <[email protected]>
AuthorDate: Thu Dec 14 11:00:16 2023 +0100

    Disable ANSI decorations for default (embedded) maven logger.
    
    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.
---
 java/maven.embedder/nbproject/project.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/java/maven.embedder/nbproject/project.xml 
b/java/maven.embedder/nbproject/project.xml
index 7c0cb849e3..8271d91403 100644
--- a/java/maven.embedder/nbproject/project.xml
+++ b/java/maven.embedder/nbproject/project.xml
@@ -319,9 +319,14 @@
             <class-path-extension>
                 
<runtime-relative-path>../maven/lib/httpcore-4.4.16.jar</runtime-relative-path>
             </class-path-extension>
+            <!--
+            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
             <class-path-extension>
                 
<runtime-relative-path>../maven/lib/jansi-2.4.0.jar</runtime-relative-path>
             </class-path-extension>
+            -->
             <class-path-extension>
                 
<runtime-relative-path>../maven/lib/javax.annotation-api-1.3.2.jar</runtime-relative-path>
             </class-path-extension>


---------------------------------------------------------------------
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

Reply via email to