243 lines
9.4 KiB
XML
243 lines
9.4 KiB
XML
<!--
|
|
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
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
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.
|
|
-->
|
|
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.apache.activemq.tests</groupId>
|
|
<artifactId>artemis-tests-pom</artifactId>
|
|
<version>2.8.0</version>
|
|
</parent>
|
|
|
|
<artifactId>smoke-tests</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>Smoke Tests</name>
|
|
|
|
<properties>
|
|
<activemq.basedir>${project.basedir}/../../</activemq.basedir>
|
|
</properties>
|
|
|
|
<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>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.activemq</groupId>
|
|
<artifactId>artemis-jms-client-all</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</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.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-jms_2.0_spec</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.logging</groupId>
|
|
<artifactId>jboss-logging-processor</artifactId>
|
|
<scope>provided</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<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>
|
|
<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>
|
|
<version>RELEASE</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.activemq</groupId>
|
|
<artifactId>artemis-maven-plugin</artifactId>
|
|
<executions>
|
|
<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>
|
|
</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>
|
|
</configuration>
|
|
</execution>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
|
|
</executions>
|
|
<dependencies>
|
|
<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>
|
|
|
|
</project>
|