2017-04-02 19:16:50 -04:00
|
|
|
<!--
|
2017-04-05 10:25:28 -04:00
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
2017-04-02 19:16:50 -04:00
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
2017-04-05 10:25:28 -04:00
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
2017-04-02 19:16:50 -04:00
|
|
|
-->
|
2019-03-14 12:40:52 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
2017-04-02 19:16:50 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
2017-04-04 20:20:56 -04:00
|
|
|
<groupId>org.apache.activemq.tests</groupId>
|
|
|
|
<artifactId>artemis-tests-pom</artifactId>
|
2021-02-11 12:00:04 -05:00
|
|
|
<version>2.18.0-SNAPSHOT</version>
|
2017-04-02 19:16:50 -04:00
|
|
|
</parent>
|
|
|
|
|
2017-04-04 20:20:56 -04:00
|
|
|
<artifactId>smoke-tests</artifactId>
|
2017-04-05 10:25:28 -04:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Smoke Tests</name>
|
2017-04-02 19:16:50 -04:00
|
|
|
|
|
|
|
<properties>
|
2017-04-05 10:25:28 -04:00
|
|
|
<activemq.basedir>${project.basedir}/../../</activemq.basedir>
|
2017-04-02 19:16:50 -04:00
|
|
|
</properties>
|
|
|
|
|
2017-04-05 10:25:28 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-server</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<!-- this dependency is here to make sure this module is only executed
|
|
|
|
after the distribution is created.
|
|
|
|
Otherwise it will get here before the build eventually.
|
|
|
|
e.g if you use mvn install -T 20 -->
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>apache-artemis</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<type>pom</type>
|
2017-10-31 09:19:00 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-jms-client-all</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2017-04-05 10:25:28 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-jms-client</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-commons</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-commons</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-cli</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging-processor</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2020-04-29 12:14:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.errorprone</groupId>
|
|
|
|
<artifactId>error_prone_core</artifactId>
|
|
|
|
</dependency>
|
2017-04-05 10:25:28 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.qpid</groupId>
|
|
|
|
<artifactId>qpid-jms-client</artifactId>
|
|
|
|
<version>${qpid.jms.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logmanager</groupId>
|
|
|
|
<artifactId>jboss-logmanager</artifactId>
|
|
|
|
</dependency>
|
2019-04-24 12:14:57 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly.common</groupId>
|
|
|
|
<artifactId>wildfly-common</artifactId>
|
|
|
|
</dependency>
|
2018-03-14 17:53:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.fusesource.mqtt-client</groupId>
|
|
|
|
<artifactId>mqtt-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.paho</groupId>
|
|
|
|
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
|
|
|
|
</dependency>
|
2021-04-09 04:25:17 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.jms</groupId>
|
|
|
|
<artifactId>jakarta.jms-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.management.j2ee</groupId>
|
|
|
|
<artifactId>jakarta.management.j2ee-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-03-22 01:30:37 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-client</artifactId>
|
2021-04-09 04:25:17 -04:00
|
|
|
<scope>test</scope>
|
2020-03-22 01:30:37 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-jms_1.1_spec</artifactId>
|
|
|
|
</exclusion>
|
2021-04-09 04:25:17 -04:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-j2ee-management_1.1_spec</artifactId>
|
|
|
|
</exclusion>
|
2020-03-22 01:30:37 -04:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2021-02-08 10:48:56 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-java</artifactId>
|
|
|
|
<version>3.14.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>selenium</artifactId>
|
|
|
|
<version>1.15.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-03-22 12:22:41 -04:00
|
|
|
<!-- this dependency is needed for CFUtil and other tools from integration-tests -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq.tests</groupId>
|
|
|
|
<artifactId>integration-tests</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2017-04-05 10:25:28 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-maven-plugin</artifactId>
|
|
|
|
<executions>
|
2021-02-08 10:48:56 -05:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-create-console</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<role>amq</role>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<allowAnonymous>false</allowAnonymous>
|
|
|
|
<noWeb>false</noWeb>
|
|
|
|
<instance>${basedir}/target/console</instance>
|
|
|
|
<configuration>${basedir}/target/classes/servers/console</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2017-04-05 10:25:28 -04:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create0</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<javaOptions>-Djava.net.preferIPv4Stack=true</javaOptions>
|
|
|
|
<instance>${basedir}/target/replicated-static0</instance>
|
|
|
|
<configuration>${basedir}/target/classes/servers/replicated-static0</configuration>
|
2020-03-25 13:54:34 -04:00
|
|
|
<args>
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-ea</arg>
|
|
|
|
</args>
|
2017-04-05 10:25:28 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create1</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<javaOptions>-Djava.net.preferIPv4Stack=true</javaOptions>
|
|
|
|
<instance>${basedir}/target/replicated-static1</instance>
|
|
|
|
<configuration>${basedir}/target/classes/servers/replicated-static1</configuration>
|
2020-03-25 13:54:34 -04:00
|
|
|
<args>
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-ea</arg>
|
|
|
|
</args>
|
2017-04-05 10:25:28 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2017-04-18 10:29:29 -04:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-expire</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<configuration>${basedir}/target/classes/servers/expire</configuration>
|
|
|
|
<javaOptions>-Dartemis.debug.paging.interval=1</javaOptions>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/expire</instance>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-03-14 17:53:29 -04:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-mqtt</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<configuration>${basedir}/target/classes/servers/mqtt</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/mqtt</instance>
|
|
|
|
<configuration>${basedir}/target/classes/servers/mqtt</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-04-27 17:35:36 -04:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-standard</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/standard</instance>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2020-07-29 11:33:22 -04:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-dnsswitch</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>${basedir}/target/classes/servers/dnsswitch</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/dnsswitch</instance>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-dnsswitch2</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>${basedir}/target/classes/servers/dnsswitch2</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/dnsswitch2</instance>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-dnsswitch-main</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>${basedir}/target/classes/servers/dnsswitch-replicated-main</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<noWeb>true</noWeb>
|
|
|
|
<instance>${basedir}/target/dnsswitch-replicated-main</instance>
|
|
|
|
<args>
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<!-- notice these files are only available on dnsswitch, so this is not a copy and paste error
|
|
|
|
where I really meant dnsswitch here -->
|
|
|
|
<arg>-Djdk.net.hosts.file=${basedir}/target/dnsswitch/etc/hosts.conf -Djava.security.properties=${basedir}/target/dnsswitch/etc/zerocache.security -Djava.rmi.server.hostname=localhost</arg>
|
2020-08-03 09:12:44 -04:00
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-dnsswitch-main-withping</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>${basedir}/target/classes/servers/dnsswitch-replicated-main-withping</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<noWeb>true</noWeb>
|
|
|
|
<instance>${basedir}/target/dnsswitch-replicated-main-withping</instance>
|
|
|
|
<args>
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<!-- notice these files are only available on dnsswitch, so this is not a copy and paste error
|
|
|
|
where I really meant dnsswitch here -->
|
|
|
|
<arg>-Djdk.net.hosts.file=${basedir}/target/dnsswitch/etc/hosts.conf -Djava.security.properties=${basedir}/target/dnsswitch/etc/zerocache.security -Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-dnsswitch-backup-withping</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>${basedir}/target/classes/servers/dnsswitch-replicated-backup-withping</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<noWeb>true</noWeb>
|
|
|
|
<instance>${basedir}/target/dnsswitch-replicated-backup-withping</instance>
|
|
|
|
<args>
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<!-- notice these files are only available on dnsswitch, so this is not a copy and paste error
|
|
|
|
where I really meant dnsswitch here -->
|
|
|
|
<arg>-Djdk.net.hosts.file=${basedir}/target/dnsswitch/etc/hosts.conf -Djava.security.properties=${basedir}/target/dnsswitch/etc/zerocache.security -Djava.rmi.server.hostname=localhost</arg>
|
2020-07-29 11:33:22 -04:00
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-dnsswitch-main-noretrydns</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>${basedir}/target/classes/servers/dnsswitch-replicated-main-noretrydns</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<noWeb>true</noWeb>
|
|
|
|
<instance>${basedir}/target/dnsswitch-replicated-main-noretrydns</instance>
|
|
|
|
<args>
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<!-- notice these files are only available on dnsswitch, so this is not a copy and paste error
|
|
|
|
where I really meant dnsswitch here -->
|
|
|
|
<arg>-Djdk.net.hosts.file=${basedir}/target/dnsswitch/etc/hosts.conf -Djava.security.properties=${basedir}/target/dnsswitch/etc/noretrydns.security -Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-dnsswitch-backup</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>${basedir}/target/classes/servers/dnsswitch-replicated-backup</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<noWeb>true</noWeb>
|
|
|
|
<instance>${basedir}/target/dnsswitch-replicated-backup</instance>
|
|
|
|
<args>
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<!-- notice these files are only available on dnsswitch, so this is not a copy and paste error
|
|
|
|
where I really meant dnsswitch here -->
|
|
|
|
<arg>-Djdk.net.hosts.file=${basedir}/target/dnsswitch/etc/hosts.conf -Djava.security.properties=${basedir}/target/dnsswitch/etc/zerocache.security -Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-05-24 12:47:42 -04:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-maxConsumers</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<configuration>${basedir}/target/classes/servers/maxConsumers</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/maxConsumers</instance>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2019-05-02 15:08:03 -04:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-createJMX</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>${basedir}/target/classes/servers/jmx</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/jmx</instance>
|
|
|
|
<args>
|
|
|
|
<!-- this is needed to run the server remotely -->
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2019-05-22 08:37:35 -04:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-createJMX2</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/jmx2</instance>
|
|
|
|
<args>
|
|
|
|
<!-- this is needed to run the server remotely -->
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-Djava.rmi.server.hostname=localhost -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=11099 -Dcom.sun.management.jmxremote.rmi.port=11098 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
2020-11-28 17:10:05 -05:00
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-createJMXRBAC</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<role>amq</role>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<allowAnonymous>false</allowAnonymous>
|
|
|
|
<instance>${basedir}/target/jmx-rbac</instance>
|
|
|
|
<configuration>${basedir}/target/classes/servers/jmx-rbac</configuration>
|
|
|
|
<args>
|
|
|
|
<!-- this is needed to run the server remotely -->
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
2019-05-22 08:37:35 -04:00
|
|
|
</execution>
|
2020-01-13 06:45:45 -05:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-createAuditLogging</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>${basedir}/target/classes/servers/audit-logging</configuration>
|
|
|
|
<noWeb>false</noWeb>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/audit-logging</instance>
|
|
|
|
<args>
|
|
|
|
<!-- this is needed to run the server remotely -->
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
<!--<arg>-Djava.rmi.server.hostname=localhost -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005</arg>-->
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-createAuditLogging2</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>${basedir}/target/classes/servers/audit-logging2</configuration>
|
|
|
|
<noWeb>false</noWeb>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/audit-logging2</instance>
|
|
|
|
<args>
|
|
|
|
<!-- this is needed to run the server remotely -->
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
<!--<arg>-Djava.rmi.server.hostname=localhost -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005</arg>-->
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2019-10-10 11:55:12 -04:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-jmx-failback</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<configuration>${basedir}/target/classes/servers/jmx-failback1</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/jmx-failback1</instance>
|
|
|
|
<args>
|
|
|
|
<!-- this is needed to run the server remotely -->
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-jmx-failback2</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<configuration>${basedir}/target/classes/servers/jmx-failback2</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/jmx-failback2</instance>
|
|
|
|
<args>
|
|
|
|
<!-- this is needed to run the server remotely -->
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2020-04-08 10:56:14 -04:00
|
|
|
<!-- START JmxReplicatedMultipleFailbackTest -->
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-replicated-failback-master1</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<configuration>${basedir}/target/classes/servers/replicated-failback-master1</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/replicated-failback-master1</instance>
|
|
|
|
<args>
|
|
|
|
<!-- this is needed to run the server remotely -->
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-replicated-failback-master2</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<configuration>${basedir}/target/classes/servers/replicated-failback-master2</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/replicated-failback-master2</instance>
|
|
|
|
<args>
|
|
|
|
<!-- this is needed to run the server remotely -->
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-replicated-failback-master3</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<configuration>${basedir}/target/classes/servers/replicated-failback-master3</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/replicated-failback-master3</instance>
|
|
|
|
<args>
|
|
|
|
<!-- this is needed to run the server remotely -->
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-replicated-failback-slave1</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<configuration>${basedir}/target/classes/servers/replicated-failback-slave1</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/replicated-failback-slave1</instance>
|
|
|
|
<args>
|
|
|
|
<!-- this is needed to run the server remotely -->
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<!-- END JmxReplicatedMultipleFailbackTest -->
|
2020-03-16 16:39:18 -04:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-paging</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<configuration>${basedir}/target/classes/servers/paging</configuration>
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<instance>${basedir}/target/paging</instance>
|
|
|
|
<args>
|
|
|
|
<!-- this is needed to run the server remotely -->
|
|
|
|
<arg>--java-options</arg>
|
|
|
|
<arg>-Djava.rmi.server.hostname=localhost</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2020-12-14 17:33:05 -05:00
|
|
|
<!-- used on TransferTest -->
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-transfer-1</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<noWeb>true</noWeb>
|
|
|
|
<instance>${basedir}/target/transfer1</instance>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>create-transfer-2</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- this makes it easier in certain envs -->
|
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<noWeb>true</noWeb>
|
|
|
|
<portOffset>100</portOffset>
|
|
|
|
<instance>${basedir}/target/transfer2</instance>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2021-03-22 12:22:41 -04:00
|
|
|
<!-- used on BrokerConnectionBridgeSecurityTest -->
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>createBrokerConnectBridgeSecurityA</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<allowAnonymous>false</allowAnonymous>
|
|
|
|
<user>A</user>
|
|
|
|
<password>A</password>
|
|
|
|
<noWeb>true</noWeb>
|
|
|
|
<instance>${basedir}/target/brokerConnectBridgeSecurityA</instance>
|
|
|
|
<configuration>${basedir}/target/classes/servers/brokerConnectBridgeSecurityA</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>createBrokerConnectBridgeSecurityB</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<allowAnonymous>false</allowAnonymous>
|
|
|
|
<user>B</user>
|
|
|
|
<password>B</password>
|
|
|
|
<noWeb>true</noWeb>
|
|
|
|
<portOffset>100</portOffset>
|
|
|
|
<instance>${basedir}/target/brokerConnectBridgeSecurityB</instance>
|
|
|
|
<configuration>${basedir}/target/classes/servers/brokerConnectBridgeSecurityB</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2021-03-22 19:01:34 -04:00
|
|
|
<!-- used on BrokerConnectionBridgeSecurityTest -->
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>createBrokerConnectMirrorSecurityA</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<allowAnonymous>false</allowAnonymous>
|
|
|
|
<user>A</user>
|
|
|
|
<password>A</password>
|
|
|
|
<noWeb>true</noWeb>
|
|
|
|
<instance>${basedir}/target/brokerConnectMirrorSecurityA</instance>
|
|
|
|
<configuration>${basedir}/target/classes/servers/brokerConnectMirrorSecurityA</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>createBrokerConnectMirrorSecurityB</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<allowAnonymous>false</allowAnonymous>
|
|
|
|
<user>B</user>
|
|
|
|
<password>B</password>
|
|
|
|
<noWeb>true</noWeb>
|
|
|
|
<portOffset>1</portOffset>
|
|
|
|
<instance>${basedir}/target/brokerConnectMirrorSecurityB</instance>
|
|
|
|
<configuration>${basedir}/target/classes/servers/brokerConnectMirrorSecurityB</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2021-03-23 13:27:59 -04:00
|
|
|
|
|
|
|
<!-- used on MaxQueueResourceTest -->
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>createBrokerMaxQueueResourceTest</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<allowAnonymous>false</allowAnonymous>
|
|
|
|
<user>A</user>
|
|
|
|
<password>A</password>
|
|
|
|
<noWeb>true</noWeb>
|
|
|
|
<instance>${basedir}/target/MaxQueueResourceTest</instance>
|
|
|
|
<configuration>${basedir}/target/classes/servers/MaxQueueResourceTest</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2019-10-10 11:55:12 -04:00
|
|
|
<dependencies>
|
2017-04-05 10:25:28 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq.tests</groupId>
|
|
|
|
<artifactId>smoke-tests</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skipTests>${skipSmokeTests}</skipTests>
|
|
|
|
<argLine>${activemq-surefire-argline}</argLine>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2017-04-02 19:16:50 -04:00
|
|
|
</project>
|