You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2018/01/22 17:23:54 UTC

[2/2] activemq-artemis git commit: ARTEMIS-1624 Adding in configuration condition for turning on the console when using maven plugin

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


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/fcc6bbde
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/fcc6bbde
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/fcc6bbde

Branch: refs/heads/master
Commit: fcc6bbdebeb434199a603ac1fc18f1d6f7a85371
Parents: 56d4f81
Author: David Shunfenthal <ds...@mindovermachines.com>
Authored: Sun Jan 21 00:51:38 2018 -0500
Committer: Justin Bertram <jb...@apache.org>
Committed: Mon Jan 22 11:23:28 2018 -0600

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/maven/ArtemisCreatePlugin.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/fcc6bbde/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCreatePlugin.java
----------------------------------------------------------------------
diff --git a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCreatePlugin.java b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCreatePlugin.java
index 86668da..2e16c86 100644
--- a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCreatePlugin.java
+++ b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCreatePlugin.java
@@ -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");
       }