2008-06-16 12:11:38 -04:00
|
|
|
<?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
|
2013-01-10 11:43:21 -05:00
|
|
|
|
2008-06-16 12:11:38 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2013-01-10 11:43:21 -05:00
|
|
|
|
2008-06-16 12:11:38 -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.
|
|
|
|
-->
|
2013-02-06 10:43:41 -05: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">
|
2008-06-16 12:11:38 -04:00
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-parent</artifactId>
|
2015-01-30 07:46:19 -05:00
|
|
|
<version>5.12-SNAPSHOT</version>
|
2008-06-16 12:11:38 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>activemq-camel</artifactId>
|
|
|
|
<name>ActiveMQ :: Camel</name>
|
|
|
|
<description>ActiveMQ component for Camel</description>
|
2013-02-14 10:41:49 -05:00
|
|
|
<packaging>bundle</packaging>
|
2008-06-16 12:11:38 -04:00
|
|
|
|
|
|
|
<properties>
|
2013-02-15 06:57:31 -05:00
|
|
|
<activemq.osgi.import.pkg>
|
2015-03-11 05:00:46 -04:00
|
|
|
org.springframework.jms*;version="[3,5)",
|
2014-01-13 11:13:45 -05:00
|
|
|
org.apache.activemq.pool,
|
2014-09-09 16:38:53 -04:00
|
|
|
org.apache.camel*;version="${camel-version-range}",
|
2013-12-11 10:43:26 -05:00
|
|
|
*
|
2013-02-15 06:57:31 -05:00
|
|
|
</activemq.osgi.import.pkg>
|
2008-06-16 12:11:38 -04:00
|
|
|
<activemq.osgi.export>
|
2014-09-09 16:38:53 -04:00
|
|
|
org.apache.activemq.camel*;version:="${project.version}";-noimport:=true
|
2008-06-16 12:11:38 -04:00
|
|
|
</activemq.osgi.export>
|
2015-03-11 05:00:46 -04:00
|
|
|
<camel.osgi.export.service>
|
|
|
|
org.apache.camel.spi.ComponentResolver;component=activemq,
|
|
|
|
org.apache.camel.spi.ComponentResolver;component=broker
|
|
|
|
</camel.osgi.export.service>
|
2008-06-16 12:11:38 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- =============================== -->
|
|
|
|
<!-- Required Dependencies -->
|
|
|
|
<!-- =============================== -->
|
|
|
|
<dependency>
|
2011-02-10 09:24:01 -05:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2008-06-16 12:11:38 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.camel</groupId>
|
|
|
|
<artifactId>camel-jms</artifactId>
|
|
|
|
</dependency>
|
2014-11-11 02:20:01 -05:00
|
|
|
<!-- use the Camel apt compiler plugin -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.camel</groupId>
|
|
|
|
<artifactId>apt</artifactId>
|
|
|
|
<version>${camel-version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2008-06-16 12:11:38 -04:00
|
|
|
<dependency>
|
2010-05-06 09:09:16 -04:00
|
|
|
<groupId>${project.groupId}</groupId>
|
2012-11-07 15:41:40 -05:00
|
|
|
<artifactId>activemq-spring</artifactId>
|
|
|
|
</dependency>
|
2008-06-16 12:11:38 -04:00
|
|
|
|
2012-09-01 12:20:52 -04:00
|
|
|
<!-- to use AMQ with Camel efficient we would need to use pooling -->
|
2008-06-16 12:11:38 -04:00
|
|
|
<dependency>
|
2010-05-06 09:09:16 -04:00
|
|
|
<groupId>${project.groupId}</groupId>
|
2008-08-14 10:18:01 -04:00
|
|
|
<artifactId>activemq-pool</artifactId>
|
2008-06-16 12:11:38 -04:00
|
|
|
</dependency>
|
2010-02-09 14:56:21 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
2010-08-06 07:34:06 -04:00
|
|
|
<artifactId>geronimo-annotation_1.0_spec</artifactId>
|
2010-02-09 14:56:21 -05:00
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2008-08-14 10:18:01 -04:00
|
|
|
|
|
|
|
<!-- testing helpers -->
|
2008-06-17 08:41:26 -04:00
|
|
|
<dependency>
|
2010-05-06 09:09:16 -04:00
|
|
|
<groupId>${project.groupId}</groupId>
|
2013-01-28 18:09:54 -05:00
|
|
|
<artifactId>activemq-unit-tests</artifactId>
|
2008-08-14 10:18:01 -04:00
|
|
|
<type>test-jar</type>
|
2008-06-17 08:41:26 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-11-07 12:26:31 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-broker</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2008-06-16 12:11:38 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.camel</groupId>
|
2011-07-27 05:51:07 -04:00
|
|
|
<artifactId>camel-test</artifactId>
|
2008-06-16 12:11:38 -04:00
|
|
|
<scope>test</scope>
|
2012-08-09 06:23:43 -04:00
|
|
|
</dependency>
|
2012-11-07 15:41:40 -05:00
|
|
|
<dependency>
|
2012-08-09 06:23:43 -04:00
|
|
|
<groupId>org.apache.camel</groupId>
|
2014-09-19 01:55:23 -04:00
|
|
|
<artifactId>camel-test-spring3</artifactId>
|
2012-08-09 06:23:43 -04:00
|
|
|
<scope>test</scope>
|
2008-06-16 12:11:38 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<scope>test</scope>
|
2013-01-10 11:43:21 -05:00
|
|
|
</dependency>
|
2010-03-01 09:02:59 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2008-06-16 12:11:38 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-all</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-01-28 15:20:06 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xbean</groupId>
|
|
|
|
<artifactId>xbean-spring</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.components</groupId>
|
|
|
|
<artifactId>geronimo-transaction</artifactId>
|
2011-05-06 09:27:49 -04:00
|
|
|
<optional>true</optional>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-03-05 11:03:14 -05:00
|
|
|
<dependency>
|
2015-03-06 11:51:26 -05:00
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-dbcp2</artifactId>
|
2014-03-05 11:03:14 -05:00
|
|
|
<optional>true</optional>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-05-06 09:27:49 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.objectweb.howl</groupId>
|
|
|
|
<artifactId>howl</artifactId>
|
|
|
|
<version>1.0.1-1</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-01-28 15:20:06 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jencks</groupId>
|
|
|
|
<artifactId>jencks</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-11-02 15:17:28 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-jaas</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-05-06 09:27:49 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-ra</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-01-28 15:20:06 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.camel</groupId>
|
|
|
|
<artifactId>camel-jdbc</artifactId>
|
|
|
|
<version>${camel-version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-02-10 09:24:01 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-01-28 15:20:06 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2008-06-16 12:11:38 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- Configure which tests are included/excuded -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2014-01-30 08:22:44 -05:00
|
|
|
<forkCount>1</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
2008-06-16 12:11:38 -04:00
|
|
|
<childDelegation>false</childDelegation>
|
|
|
|
<useFile>true</useFile>
|
|
|
|
<argLine>-Xmx512M</argLine>
|
2013-01-10 11:43:21 -05:00
|
|
|
<systemProperties>
|
2008-06-16 12:11:38 -04:00
|
|
|
<property>
|
|
|
|
<name>org.apache.activemq.default.directory.prefix</name>
|
|
|
|
<value>target/</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
2014-03-05 14:17:03 -05:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<derby.stream.error.file>target/derby.log</derby.stream.error.file>
|
|
|
|
</systemPropertyVariables>
|
2008-06-16 12:11:38 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-11-11 02:20:01 -05:00
|
|
|
|
|
|
|
<!-- use Camel plugins to generate component details -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.camel</groupId>
|
|
|
|
<artifactId>camel-package-maven-plugin</artifactId>
|
|
|
|
<version>${camel-version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-components-list</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2008-06-16 12:11:38 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2015-07-09 09:10:38 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>activemq.tests-sanity</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>activemq.tests</name>
|
|
|
|
<value>smoke</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/ActiveMQConfigureTest.*</include>
|
|
|
|
<include>**/ActiveMQJmsHeaderRouteTest.*</include>
|
|
|
|
<include>**/CamelJmsTest.*</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
</profiles>
|
|
|
|
|
2008-06-16 12:11:38 -04:00
|
|
|
</project>
|