You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/02/10 10:47:47 UTC

[3/7] maven git commit: [MNG-6282] removed workaround for MingW/GitBash detection

[MNG-6282] removed workaround for MingW/GitBash detection

see https://github.com/fusesource/jansi-native/issues/11

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

Branch: refs/heads/master
Commit: e2bc17b5087067398cf17c009f74cfb493ace7ca
Parents: 9168395
Author: Hervé Boutemy <hb...@apache.org>
Authored: Thu Feb 8 23:48:49 2018 +0100
Committer: Hervé Boutemy <hb...@apache.org>
Committed: Sat Feb 10 11:42:32 2018 +0100

----------------------------------------------------------------------
 apache-maven/src/bin/mvn | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/e2bc17b5/apache-maven/src/bin/mvn
----------------------------------------------------------------------
diff --git a/apache-maven/src/bin/mvn b/apache-maven/src/bin/mvn
index 65be711..a554c66 100755
--- a/apache-maven/src/bin/mvn
+++ b/apache-maven/src/bin/mvn
@@ -188,14 +188,6 @@ export MAVEN_PROJECTBASEDIR
 MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
 export MAVEN_CMD_LINE_ARGS
 
-# detect cygwin or mingw pseudo-terminal for Jansi
-# workaround for https://github.com/fusesource/jansi-native/issues/11
-if $cygwin || $mingw; then
-  if [ -t 1 ]; then
-    MAVEN_OPTS="-Djansi.passthrough=true $MAVEN_OPTS"
-  fi
-fi
-
 exec "$JAVACMD" \
   $MAVEN_OPTS \
   $MAVEN_DEBUG_OPTS \