2015-06-07 22:45:30 -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
|
|
|
|
|
|
|
|
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>
|
2024-08-16 10:23:18 -04:00
|
|
|
<version>2.38.0-SNAPSHOT</version>
|
2015-06-07 22:45:30 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>activemq5-unit-tests</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>ActiveMQ5.x unit tests</name>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<activemq.basedir>${project.basedir}/../..</activemq.basedir>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
2017-06-26 09:16:44 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2022-02-08 12:21:31 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
2022-09-28 07:18:59 -04:00
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<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>
|
2022-02-08 12:21:31 -05:00
|
|
|
</dependency>
|
|
|
|
|
2015-06-07 22:45:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
2016-04-01 15:46:20 -04:00
|
|
|
<artifactId>activemq-client</artifactId>
|
2022-01-28 06:34:20 -05:00
|
|
|
<version>${activemq5-version}</version>
|
2015-06-07 22:45:30 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
2016-04-01 15:46:20 -04:00
|
|
|
<artifactId>activemq-jaas</artifactId>
|
2022-01-28 06:34:20 -05:00
|
|
|
<version>${activemq5-version}</version>
|
2015-06-07 22:45:30 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-jdbc-store</artifactId>
|
2022-01-28 06:34:20 -05:00
|
|
|
<version>${activemq5-version}</version>
|
2015-06-07 22:45:30 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-kahadb-store</artifactId>
|
2022-01-28 06:34:20 -05:00
|
|
|
<version>${activemq5-version}</version>
|
2015-06-07 22:45:30 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-pool</artifactId>
|
2022-01-28 06:34:20 -05:00
|
|
|
<version>${activemq5-version}</version>
|
2015-06-07 22:45:30 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-spring</artifactId>
|
2022-01-28 06:34:20 -05:00
|
|
|
<version>${activemq5-version}</version>
|
2015-06-07 22:45:30 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-stomp</artifactId>
|
2022-01-28 06:34:20 -05:00
|
|
|
<version>${activemq5-version}</version>
|
2015-06-07 22:45:30 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2024-01-30 22:18:41 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derbytools</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-06-07 22:45:30 -04:00
|
|
|
|
2022-04-04 04:59:14 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
2022-04-04 10:28:06 -04:00
|
|
|
<version>${spring.version}</version>
|
2022-04-04 04:59:14 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2015-06-07 22:45:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
2022-04-04 10:28:06 -04:00
|
|
|
<version>${spring.version}</version>
|
2015-06-07 22:45:30 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- artemis modules -->
|
2022-06-24 13:09:13 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-unit-test-support</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2015-06-07 22:45:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-commons</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2015-06-29 22:03:43 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-jms-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2015-06-07 22:45:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-openwire-protocol</artifactId>
|
|
|
|
</dependency>
|
2016-04-19 23:37:22 -04:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-stomp-protocol</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2016-04-01 15:46:20 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.byteman</groupId>
|
|
|
|
<artifactId>byteman</artifactId>
|
|
|
|
<version>${byteman.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.byteman</groupId>
|
|
|
|
<artifactId>byteman-submit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${byteman.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.byteman</groupId>
|
|
|
|
<artifactId>byteman-install</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${byteman.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.byteman</groupId>
|
|
|
|
<artifactId>byteman-bmunit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${byteman.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
2022-01-11 02:59:43 -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>
|
2015-06-07 22:45:30 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skipTests>${skipActiveMQ5Tests}</skipTests>
|
2017-07-17 05:51:55 -04:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<org.apache.activemq.AutoFailTestSupport.disableSystemExit>true</org.apache.activemq.AutoFailTestSupport.disableSystemExit>
|
|
|
|
</systemPropertyVariables>
|
2022-01-28 06:34:20 -05:00
|
|
|
<argLine>${activemq-surefire-argline} -Dorg.apache.activemq.SERIALIZABLE_PACKAGES="java.lang,javax.security,java.util,org.apache.activemq,org.fusesource.hawtbuf"</argLine>
|
2015-07-30 06:39:12 -04:00
|
|
|
<includes>
|
2016-04-01 15:46:20 -04:00
|
|
|
<!-- included packages -->
|
2015-07-30 06:39:12 -04:00
|
|
|
<include>**/org/apache/activemq/*Test.java</include>
|
|
|
|
<include>**/org/apache/activemq/command/*Test.java</include>
|
|
|
|
<include>**/org/apache/activemq/openwire/*Test.java</include>
|
|
|
|
<include>**/org/apache/activemq/transport/tcp/*Test.java</include>
|
2016-04-01 15:46:20 -04:00
|
|
|
<include>**/org/apache/activemq/transport/failover/*Test.java</include>
|
|
|
|
<include>**/org/apache/activemq/transport/*Test.java</include>
|
2015-07-30 06:39:12 -04:00
|
|
|
<!-- tests that are known to pass-->
|
|
|
|
<include>**/org/apache/activemq/blob/BlobTransferPolicyUriTest.java</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<!-- exclude tests that can cause hang -->
|
|
|
|
<exclude>**/org/apache/activemq/PerDestinationStoreLimitTest.java</exclude>
|
|
|
|
<exclude>**/org/apache/activemq/ProducerFlowControlTest.java</exclude>
|
2015-08-26 07:54:19 -04:00
|
|
|
<!-- exclude tests that are on client side only -->
|
|
|
|
<exclude>**/org/apache/activemq/transport/tcp/TransportConnectorInvalidSocketOptionsTest.java</exclude>
|
2015-07-30 06:39:12 -04:00
|
|
|
</excludes>
|
2015-06-07 22:45:30 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-09-04 23:41:23 -04:00
|
|
|
|
2015-06-07 22:45:30 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|
|
|
|
|