ARTEMIS-1624 Adding in configuration condition for turning on the console when using maven plugin
This commit is contained in:
parent
56d4f816a4
commit
fcc6bbdebe
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue