ARTEMIS-466 Fix java-opts handling in maven-cli

Previously, java-opts (--java-options argument on the command line)
were not passed on to Artemis broker. This broke the client-kickoff
example, which relies on this to configure JMX.
This commit is contained in:
Jiri Danek 2016-04-03 17:35:41 +02:00 committed by jbertram
parent 6a468b27f8
commit e041c40ffd
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,8 @@ if $cygwin ; then
CLASSPATH=`cygpath --windows "$CLASSPATH"`
fi
exec "$JAVACMD" $JAVA_ARGS \
exec "$JAVACMD" ${java-opts} \
$JAVA_ARGS \
-Xbootclasspath/a:"$ARTEMIS_HOME/lib/${logmanager}" \
-Djava.security.auth.login.config="$ARTEMIS_INSTANCE/etc/login.config" \
$ARTEMIS_CLUSTER_PROPS \