mirror of https://github.com/apache/maven.git
[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:
parent
7683712d3d
commit
d266733f04
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue