ARTEMIS-1624 Adding in configuration condition for turning on the console when using maven plugin

This commit is contained in:
David Shunfenthal 2018-01-21 00:51:38 -05:00 committed by Justin Bertram
parent 56d4f816a4
commit fcc6bbdebe
1 changed files with 5 additions and 1 deletions

View File

@ -173,7 +173,7 @@ public class ArtemisCreatePlugin extends ArtemisAbstractPlugin {
ArrayList<String> listCommands = new ArrayList<>();
add(listCommands, "create", "--allow-anonymous", "--silent", "--force", "--no-web", "--user", user, "--password", password, "--role", role, "--port-offset", "" + portOffset, "--data", dataFolder);
add(listCommands, "create", "--allow-anonymous", "--silent", "--force", "--user", user, "--password", password, "--role", role, "--port-offset", "" + portOffset, "--data", dataFolder);
if (allowAnonymous) {
add(listCommands, "--allow-anonymous");
@ -185,6 +185,10 @@ public class ArtemisCreatePlugin extends ArtemisAbstractPlugin {
add(listCommands, "--java-options", javaOptions);
}
if (noWeb) {
add(listCommands, "--no-web");
}
if (slave) {
add(listCommands, "--slave");
}