maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From schu...@apache.org
Subject [2/7] maven git commit: [MNG-3507] activate color (since not done by AnsiUtils)
Date Tue, 21 Jun 2016 23:23:04 GMT
[MNG-3507] activate color (since not done by AnsiUtils)

Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/a04ba941
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/a04ba941
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/a04ba941

Branch: refs/heads/MNG-6006
Commit: a04ba941d891fa4674f18668b3d83ecde7d035f4
Parents: d4d7f47
Author: Hervé Boutemy <hboutemy@apache.org>
Authored: Tue Jun 21 08:29:49 2016 +0200
Committer: Hervé Boutemy <hboutemy@apache.org>
Committed: Tue Jun 21 08:29:49 2016 +0200

----------------------------------------------------------------------
 maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/a04ba941/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
----------------------------------------------------------------------
diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
index fd0a81a..a0e09f2 100644
--- a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
+++ b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
@@ -212,6 +212,7 @@ public class MavenCli
         MavenCli cli = new MavenCli();
 
         AnsiUtils.systemInstall();
+        AnsiUtils.setEnabled( true ); // activate colors by default: will be deactivated
later if necessary
         int result = cli.doMain( new CliRequest( args, classWorld ) );
         AnsiUtils.systemUninstall();
 


Mime
View raw message