[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
This commit is contained in:
Michael Osipov 2014-02-09 12:07:44 +01:00
parent 7683712d3d
commit d266733f04
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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