| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| 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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>components</artifactId> |
| <version>4.7.0</version> |
| </parent> |
| |
| <artifactId>camel-jms</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>Camel :: JMS</name> |
| <description>Camel JMS support</description> |
| |
| <properties> |
| <camel.surefire.reuseForks>true</camel.surefire.reuseForks> |
| <camel.surefire.forkCount>1</camel.surefire.forkCount> |
| <camel.surefire.forkTimeout>1200</camel.surefire.forkTimeout> |
| <camel.surefire.parallel>true</camel.surefire.parallel> |
| <camel.surefire.parallel.factor>0.5</camel.surefire.parallel.factor> |
| <camel.surefire.fork.additional-vmargs>-Xmx1G</camel.surefire.fork.additional-vmargs> |
| |
| <camel.failsafe.parallel>true</camel.failsafe.parallel> |
| <camel.failsafe.parallel.factor>0.5</camel.failsafe.parallel.factor> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-support</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-spring</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-jms</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-tx</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-beans</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <!-- either use JMS 1.1 or 2.0 provided by JMS client --> |
| <!-- here we use JMS 2.0 API but using JMS 1.1 should work as well --> |
| <dependency> |
| <groupId>jakarta.jms</groupId> |
| <artifactId>jakarta.jms-api</artifactId> |
| <version>${jakarta-jms-api-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-pool2</artifactId> |
| <version>${commons-pool2-version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- testing --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-test-spring-junit5</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-spring-xml</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-management</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>${assertj-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.awaitility</groupId> |
| <artifactId>awaitility</artifactId> |
| <version>${awaitility-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- test infra --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-test-infra-core</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <type>test-jar</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-test-infra-artemis</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <type>test-jar</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.messaginghub</groupId> |
| <artifactId>pooled-jms</artifactId> |
| <version>${pooled-jms-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.xbean</groupId> |
| <artifactId>xbean-spring</artifactId> |
| <version>${xbean-spring-version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-junit-jupiter</artifactId> |
| <version>${mockito-version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>${basedir}/activemq-data</directory> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>full</id> |
| <activation> |
| <property> |
| <name>!quickly</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>-XX:+ExitOnOutOfMemoryError -Xmx2G</argLine> |
| </configuration> |
| <executions> |
| <execution> |
| <id>default-test</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <excludedGroups>not-parallel,exclusive</excludedGroups> |
| </configuration> |
| </execution> |
| <execution> |
| <id>serials-test</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <forkCount>4</forkCount> |
| <groups>not-parallel</groups> |
| <excludedGroups>exclusive</excludedGroups> |
| </configuration> |
| </execution> |
| <execution> |
| <id>exclusive-test</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <forkCount>2</forkCount> |
| <reuseForks>false</reuseForks> |
| <groups>exclusive</groups> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <argLine>-XX:+ExitOnOutOfMemoryError -Xmx3G</argLine> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <forkCount>1</forkCount> |
| <reuseForks>true</reuseForks> |
| <excludedGroups>not-parallel</excludedGroups> |
| <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds> |
| </configuration> |
| </execution> |
| <execution> |
| <id>serials-test</id> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <forkCount>4</forkCount> |
| <reuseForks>false</reuseForks> |
| <groups>not-parallel</groups> |
| <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |