From d266733f048178d5d252360924aaaf5577a04933 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Sun, 9 Feb 2014 12:07:44 +0100 Subject: [PATCH] [MNG-5574] Write error/warning messages from mvn shell and batch scripts to stderr - Only errors go to stderr, warnings don't stop Maven from working --- apache-maven/src/bin/mvn | 2 +- apache-maven/src/bin/mvnDebug | 2 +- apache-maven/src/bin/mvnyjp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apache-maven/src/bin/mvn b/apache-maven/src/bin/mvn index f790bc50fd..59efef356f 100755 --- a/apache-maven/src/bin/mvn +++ b/apache-maven/src/bin/mvn @@ -167,7 +167,7 @@ if [ ! -x "$JAVACMD" ] ; then fi if [ -z "$JAVA_HOME" ] ; then - echo "Warning: JAVA_HOME environment variable is not set." >&2 + echo "Warning: JAVA_HOME environment variable is not set." fi CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher diff --git a/apache-maven/src/bin/mvnDebug b/apache-maven/src/bin/mvnDebug index 2c1853c163..4c0beda8e5 100755 --- a/apache-maven/src/bin/mvnDebug +++ b/apache-maven/src/bin/mvnDebug @@ -171,7 +171,7 @@ if [ ! -x "$JAVACMD" ] ; then fi if [ -z "$JAVA_HOME" ] ; then - echo "Warning: JAVA_HOME environment variable is not set." >&2 + echo "Warning: JAVA_HOME environment variable is not set." fi CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher diff --git a/apache-maven/src/bin/mvnyjp b/apache-maven/src/bin/mvnyjp index f4d1154a57..57299421f3 100755 --- a/apache-maven/src/bin/mvnyjp +++ b/apache-maven/src/bin/mvnyjp @@ -175,7 +175,7 @@ if [ ! -x "$JAVACMD" ] ; then fi if [ -z "$JAVA_HOME" ] ; then - echo "Warning: JAVA_HOME environment variable is not set." >&2 + echo "Warning: JAVA_HOME environment variable is not set." fi CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher