mirror of https://github.com/apache/maven.git
[MNG-3529] mvn -Da=" " throws an exception
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928714 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
953b339e1c
commit
bbcd44e011
|
@ -154,11 +154,11 @@ if $cygwin; then
|
|||
HOME=`cygpath --path --windows "$HOME"`
|
||||
fi
|
||||
|
||||
exec "$JAVACMD" \
|
||||
maven_exec_cmd="\"$JAVACMD\" \
|
||||
$MAVEN_OPTS \
|
||||
-classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
|
||||
"-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
|
||||
"-Dmaven.home=${M2_HOME}" \
|
||||
${CLASSWORLDS_LAUNCHER} $QUOTED_ARGS
|
||||
|
||||
-classpath \"${M2_HOME}\"/boot/plexus-classworlds-*.jar \
|
||||
\"-Dclassworlds.conf=${M2_HOME}/bin/m2.conf\" \
|
||||
\"-Dmaven.home=${M2_HOME}\" \
|
||||
${CLASSWORLDS_LAUNCHER}"
|
||||
|
||||
eval $maven_exec_cmd "$QUOTED_ARGS"
|
||||
|
|
|
@ -158,12 +158,12 @@ if $cygwin; then
|
|||
HOME=`cygpath --path --windows "$HOME"`
|
||||
fi
|
||||
|
||||
exec "$JAVACMD" \
|
||||
maven_exec_cmd="\"$JAVACMD\" \
|
||||
$MAVEN_OPTS \
|
||||
$MAVEN_DEBUG_OPTS \
|
||||
-classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
|
||||
"-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
|
||||
"-Dmaven.home=${M2_HOME}" \
|
||||
${CLASSWORLDS_LAUNCHER} $QUOTED_ARGS
|
||||
|
||||
-classpath \"${M2_HOME}\"/boot/plexus-classworlds-*.jar \
|
||||
\"-Dclassworlds.conf=${M2_HOME}/bin/m2.conf\" \
|
||||
\"-Dmaven.home=${M2_HOME}\" \
|
||||
${CLASSWORLDS_LAUNCHER}"
|
||||
|
||||
eval $maven_exec_cmd "$QUOTED_ARGS"
|
||||
|
|
|
@ -935,7 +935,7 @@ public class MavenCli
|
|||
{
|
||||
name = property.substring( 0, i ).trim();
|
||||
|
||||
value = property.substring( i + 1 ).trim();
|
||||
value = property.substring( i + 1 );
|
||||
}
|
||||
|
||||
properties.setProperty( name, value );
|
||||
|
|
Loading…
Reference in New Issue