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
|
|
|
-->
|
2021-08-06 13:46:54 -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>
|
2024-08-16 10:23:18 -04:00
|
|
|
<version>2.38.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>
|
2021-12-14 22:50:53 -05:00
|
|
|
<sts-surefire-extra-args />
|
2023-08-24 14:25:26 -04:00
|
|
|
<artemis-distribution-lib-dir>-Ddistribution.lib="${activemq.basedir}/artemis-distribution/target/apache-artemis-${project.version}-bin/apache-artemis-${project.version}/lib"</artemis-distribution-lib-dir>
|
2023-03-27 13:21:40 -04:00
|
|
|
<sts-http-host>localhost</sts-http-host>
|
2017-04-02 19:16:50 -04:00
|
|
|
</properties>
|
|
|
|
|
2017-04-05 10:25:28 -04:00
|
|
|
<dependencies>
|
|
|
|
<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>
|
|
|
|
</dependency>
|
2023-07-06 22:37:18 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-server</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq.tests</groupId>
|
|
|
|
<artifactId>artemis-test-support</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-core-client</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-04-05 10:25:28 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-jms-client</artifactId>
|
2023-07-06 22:37:18 -04:00
|
|
|
<scope>test</scope>
|
2017-04-05 10:25:28 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-commons</artifactId>
|
2023-07-06 22:37:18 -04:00
|
|
|
<scope>test</scope>
|
2017-04-05 10:25:28 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-cli</artifactId>
|
2023-07-06 22:37:18 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-journal</artifactId>
|
|
|
|
<scope>test</scope>
|
2017-04-05 10:25:28 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2024-06-03 08:14:01 -04:00
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
2023-07-06 22:37:18 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-common</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jctools</groupId>
|
|
|
|
<artifactId>jctools-core</artifactId>
|
|
|
|
<scope>test</scope>
|
2017-04-05 10:25:28 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.qpid</groupId>
|
|
|
|
<artifactId>qpid-jms-client</artifactId>
|
2023-07-06 22:37:18 -04:00
|
|
|
<scope>test</scope>
|
2017-04-05 10:25:28 -04:00
|
|
|
</dependency>
|
2022-09-28 07:18:59 -04:00
|
|
|
<!-- logging -->
|
2017-04-05 10:25:28 -04:00
|
|
|
<dependency>
|
2022-09-28 07:18:59 -04:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2023-07-06 22:37:18 -04:00
|
|
|
<scope>test</scope>
|
2017-04-05 10:25:28 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2022-09-28 07:18:59 -04:00
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
2023-11-03 13:12:33 -04:00
|
|
|
<artifactId>log4j-slf4j2-impl</artifactId>
|
2022-09-28 07:18:59 -04:00
|
|
|
<scope>test</scope>
|
2019-04-24 12:14:57 -04:00
|
|
|
</dependency>
|
2018-03-14 17:53:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.fusesource.mqtt-client</groupId>
|
|
|
|
<artifactId>mqtt-client</artifactId>
|
2023-07-06 22:37:18 -04:00
|
|
|
<scope>test</scope>
|
2018-03-14 17:53:29 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.paho</groupId>
|
|
|
|
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
|
2023-07-06 22:37:18 -04:00
|
|
|
<scope>test</scope>
|
2018-03-14 17:53:29 -04:00
|
|
|
</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>
|
2023-07-06 22:37:18 -04:00
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-firefox-driver</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-chrome-driver</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-chromium-driver</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-remote-driver</artifactId>
|
2021-04-09 04:25:17 -04:00
|
|
|
<scope>test</scope>
|
2020-03-22 01:30:37 -04:00
|
|
|
</dependency>
|
2021-02-08 10:48:56 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
2023-07-06 22:37:18 -04:00
|
|
|
<artifactId>selenium-support</artifactId>
|
2021-02-08 10:48:56 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-08-02 14:22:46 -04:00
|
|
|
|
2021-02-08 10:48:56 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>selenium</artifactId>
|
2023-07-06 22:37:18 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>testcontainers</artifactId>
|
|
|
|
<scope>test</scope>
|
2021-02-08 10:48:56 -05:00
|
|
|
</dependency>
|
2022-06-24 13:09:13 -04:00
|
|
|
|
2020-04-14 11:11:32 -04:00
|
|
|
<!-- quorum tests -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-recipes</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-client</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-framework</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-test</artifactId>
|
|
|
|
<version>${curator.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
|
<artifactId>zookeeper</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
|
<artifactId>zookeeper-jute</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-11-10 16:31:19 -05:00
|
|
|
|
|
|
|
<!-- The johnzon-core and json-api contents are repackaged in -commons,
|
|
|
|
However maven can still need them during tests, which run against
|
|
|
|
the original -commons classes when built+run in the same reactor,
|
|
|
|
and not the jar containing the shaded bits. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.johnzon</groupId>
|
|
|
|
<artifactId>johnzon-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.json</groupId>
|
|
|
|
<artifactId>jakarta.json-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-06-24 13:09:13 -04:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
2023-07-06 22:37:18 -04:00
|
|
|
<scope>test</scope>
|
2022-06-24 13:09:13 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-07-06 22:37:18 -04:00
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
2022-06-24 13:09:13 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2023-07-06 22:37:18 -04:00
|
|
|
|
2022-06-24 13:09:13 -04:00
|
|
|
<dependency>
|
2023-07-06 22:37:18 -04:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-unit-test-support</artifactId>
|
2022-06-24 13:09:13 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2017-04-05 10:25:28 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2022-10-07 11:44:40 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/filtered-resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2017-04-05 10:25:28 -04:00
|
|
|
<plugins>
|
2021-09-01 12:35:11 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-security-resources</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/test-classes</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>../security-resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2024-08-08 00:43:15 -04:00
|
|
|
<!-- This creates a copy of various config files (filtered, as above in resources config) to
|
|
|
|
be used in CompareUpgradeTest to verify CLI upgrade behaviour for backups made -->
|
2022-11-23 11:05:37 -05:00
|
|
|
<execution>
|
|
|
|
<id>copy-reference-for-upgrade-backup-checks</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/reference-for-backup-check</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/filtered-resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2021-09-01 12:35:11 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-04-05 10:25:28 -04:00
|
|
|
<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>
|
2023-04-28 12:04:52 -04:00
|
|
|
<role>amq,connections,sessions,consumers,producers,addresses,queues</role>
|
2021-02-08 10:48:56 -05:00
|
|
|
<user>admin</user>
|
|
|
|
<password>admin</password>
|
|
|
|
<allowAnonymous>false</allowAnonymous>
|
|
|
|
<noWeb>false</noWeb>
|
|
|
|
<instance>${basedir}/target/console</instance>
|
2023-04-28 12:04:52 -04:00
|
|
|
<configuration>${basedir}/target/classes/servers/console</configuration>
|
2023-03-27 13:21:40 -04:00
|
|
|
<args>
|
|
|
|
<arg>--http-host</arg>
|
|
|
|
<arg>${sts-http-host}</arg>
|
|
|
|
<arg>--http-port</arg>
|
|
|
|
<arg>8161</arg>
|
|
|
|
</args>
|
2021-02-08 10:48:56 -05:00
|
|
|
</configuration>
|
2021-10-20 11:40:09 -04:00
|
|
|
</execution>
|
2021-04-26 14:30:07 -04:00
|
|
|
|
2022-10-07 11:44:40 -04:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
2022-11-07 11:27:42 -05:00
|
|
|
<id>upgrade-linux</id>
|
2022-10-07 11:44:40 -04:00
|
|
|
<goals>
|
|
|
|
<goal>upgrade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2022-11-07 11:27:42 -05:00
|
|
|
<instance>${basedir}/target/classes/servers/linuxUpgrade</instance>
|
2023-08-15 02:38:31 -04:00
|
|
|
<args>
|
|
|
|
<arg>--linux</arg>
|
|
|
|
<!-- we don't pass the java memory argumnent on purpose,
|
|
|
|
as the upgrade should keep the relevant JVM arguments during the upgrade -->
|
|
|
|
</args>
|
2022-10-07 11:44:40 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>upgrade-windows</id>
|
|
|
|
<goals>
|
|
|
|
<goal>upgrade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2022-11-07 11:27:42 -05:00
|
|
|
<instance>${basedir}/target/classes/servers/windowsUpgrade</instance>
|
2022-10-07 11:44:40 -04:00
|
|
|
<args>
|
|
|
|
<arg>--windows</arg>
|
2022-11-07 11:27:42 -05:00
|
|
|
<!-- we don't pass the java memory argumnent on purpose,
|
|
|
|
as the upgrade should keep the relevant JVM arguments during the upgrade -->
|
2022-10-07 11:44:40 -04:00
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2022-11-07 11:27:42 -05:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>createExpectedWindows</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2024-08-08 00:43:15 -04:00
|
|
|
<!-- A test, CompareUpgradeTest#testCompareWindowsFreshInstance, removes the "Expected"
|
|
|
|
suffixes included here, during comparison to the instance upgraded above -->
|
2022-11-07 11:27:42 -05:00
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<instance>${basedir}/target/classes/servers/windowsUpgradeExpected</instance>
|
2024-08-08 00:43:15 -04:00
|
|
|
<dataFolder>data-customExpected</dataFolder>
|
2022-11-07 11:27:42 -05:00
|
|
|
<noWeb>false</noWeb>
|
|
|
|
<role>amq</role>
|
|
|
|
<user>y</user>
|
|
|
|
<password>y</password>
|
|
|
|
<args>
|
|
|
|
<arg>--windows</arg>
|
|
|
|
<arg>--etc</arg>
|
|
|
|
<arg>${basedir}/target/classes/servers/windowsUpgradeETCExpected</arg>
|
|
|
|
<arg>--java-memory</arg>
|
|
|
|
<arg>1G</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<id>createExpectedLinux</id>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2024-08-08 00:43:15 -04:00
|
|
|
<!-- A test, CompareUpgradeTest#testCompareLinuxFreshInstance, removes the "Expected"
|
|
|
|
suffixes included here, during comparison to the instance upgraded above -->
|
2022-11-07 11:27:42 -05:00
|
|
|
<allowAnonymous>true</allowAnonymous>
|
|
|
|
<instance>${basedir}/target/classes/servers/linuxUpgradeExpected</instance>
|
2024-08-08 00:43:15 -04:00
|
|
|
<dataFolder>data-customExpected</dataFolder>
|
2022-11-07 11:27:42 -05:00
|
|
|
<noWeb>false</noWeb>
|
|
|
|
<role>amq</role>
|
|
|
|
<user>y</user>
|
|
|
|
<password>y</password>
|
|
|
|
<args>
|
|
|
|
<arg>--etc</arg>
|
|
|
|
<arg>${basedir}/target/classes/servers/linuxUpgradeETCExpected</arg>
|
|
|
|
<arg>--java-memory</arg>
|
|
|
|
<arg>1G</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2023-09-12 17:15:23 -04:00
|
|
|
<execution>
|
|
|
|
<phase>test-compile</phase>
|
2023-09-15 14:23:27 -04:00
|
|
|
<id>upgrade-current-version-phase1</id>
|
2023-09-12 17:15:23 -04:00
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<noWeb>false</noWeb>
|
|
|
|
<instance>${basedir}/target/upgrade/currentVersion</instance>
|
|
|
|
<args>
|
|
|
|
<arg>--disable-persistence</arg>
|
|
|
|
<arg>--linux</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2021-03-23 13:27:59 -04:00
|
|
|
</executions>
|
2021-05-05 16:27:38 -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-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2023-05-24 14:05:33 -04:00
|
|
|
<forkCount>1</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
2017-04-05 10:25:28 -04:00
|
|
|
<skipTests>${skipSmokeTests}</skipTests>
|
2023-08-24 14:25:26 -04:00
|
|
|
<argLine>${sts-surefire-extra-args} ${activemq-surefire-argline} ${artemis-distribution-lib-dir}</argLine>
|
2017-04-05 10:25:28 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2021-08-17 06:28:20 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>jdk16on</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>[16,)</jdk>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<sts-surefire-extra-args>--add-opens=java.management.rmi/javax.management.remote.rmi=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.server=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED</sts-surefire-extra-args>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2023-03-01 19:00:36 -05:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<!-- Quick subset of tests, used on PR checks -->
|
|
|
|
<id>fast-tests</id>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2023-05-24 14:05:33 -04:00
|
|
|
<forkCount>1</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
2023-03-01 19:00:36 -05:00
|
|
|
<includes combine.children="override">
|
|
|
|
<include>**/smoke/upgradeTest/*Test.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2021-08-17 06:28:20 -04:00
|
|
|
</profiles>
|
|
|
|
|
2017-04-02 19:16:50 -04:00
|
|
|
</project>
|