| <!-- |
| 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.23.1</version> |
| </parent> |
| |
| <artifactId>activemq5-unit-tests</artifactId> |
| <packaging>jar</packaging> |
| <name>ActiveMQ5.x unit tests</name> |
| |
| <properties> |
| <activemq.basedir>${project.basedir}/../..</activemq.basedir> |
| </properties> |
| |
| <dependencies> |
| |
| <!-- I imported this to get the ThreadLeakCheck --> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>artemis-server</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>artemis-commons</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-reload4j</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-client</artifactId> |
| <version>${activemq5-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-jaas</artifactId> |
| <version>${activemq5-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-jdbc-store</artifactId> |
| <version>${activemq5-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-kahadb-store</artifactId> |
| <version>${activemq5-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-pool</artifactId> |
| <version>${activemq5-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-spring</artifactId> |
| <version>${activemq5-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-stomp</artifactId> |
| <version>${activemq5-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>4.3.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <version>${spring.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-test</artifactId> |
| <version>${spring.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- artemis modules --> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>artemis-commons</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>artemis-server</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>artemis-jms-server</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>artemis-openwire-protocol</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>artemis-stomp-protocol</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <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> |
| |
| <!-- |
| JBoss Logging |
| --> |
| <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.wildfly.common</groupId> |
| <artifactId>wildfly-common</artifactId> |
| </dependency> |
| |
| <!-- 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> |
| </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.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.5.3</version> |
| <inherited>true</inherited> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-Activator>org.apache.activemq.util.osgi.Activator</Bundle-Activator> |
| </instructions> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <skipTests>${skipActiveMQ5Tests}</skipTests> |
| <systemPropertyVariables> |
| <org.apache.activemq.AutoFailTestSupport.disableSystemExit>true</org.apache.activemq.AutoFailTestSupport.disableSystemExit> |
| </systemPropertyVariables> |
| <argLine>${activemq-surefire-argline} -Dorg.apache.activemq.SERIALIZABLE_PACKAGES="java.lang,javax.security,java.util,org.apache.activemq,org.fusesource.hawtbuf"</argLine> |
| <includes> |
| <!-- included packages --> |
| <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> |
| <include>**/org/apache/activemq/transport/failover/*Test.java</include> |
| <include>**/org/apache/activemq/transport/*Test.java</include> |
| <!-- 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> |
| <!-- exclude tests that are on client side only --> |
| <exclude>**/org/apache/activemq/transport/tcp/TransportConnectorInvalidSocketOptionsTest.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| </project> |
| |