maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rfscho...@apache.org
Subject [2/3] maven git commit: [MNG-6353] Upgrade maven-shared-utils to 3.2.1 Add o.a.m.s.u.logging.MessageUtils.registerShutdownHook() to prevent ANSI from staying active when killing an active process
Date Sun, 11 Feb 2018 17:30:11 GMT
[MNG-6353] Upgrade maven-shared-utils to 3.2.1
Add o.a.m.s.u.logging.MessageUtils.registerShutdownHook() to prevent ANSI from staying active
when killing an active process


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

Branch: refs/heads/master
Commit: 22f782aecdba911324d459937e638e33165d7c12
Parents: 24b8820
Author: rfscholte <rfscholte@apache.org>
Authored: Sat Feb 10 15:28:59 2018 +0100
Committer: rfscholte <rfscholte@apache.org>
Committed: Sat Feb 10 15:28:59 2018 +0100

----------------------------------------------------------------------
 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/22f782ae/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 fa224d0..07e28bf 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
@@ -191,6 +191,7 @@ public class MavenCli
         MavenCli cli = new MavenCli();
 
         MessageUtils.systemInstall();
+        MessageUtils.registerShutdownHook();
         int result = cli.doMain( new CliRequest( args, classWorld ) );
         MessageUtils.systemUninstall();
 


Mime
View raw message