2013-01-03 13:37:45 -05: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
|
|
|
|
|
|
|
|
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.
|
|
|
|
-->
|
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">
|
2013-01-03 13:37:45 -05:00
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-parent</artifactId>
|
2013-02-06 10:45:26 -05:00
|
|
|
<version>5.9-SNAPSHOT</version>
|
2013-01-03 13:37:45 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>activemq-osgi</artifactId>
|
|
|
|
<packaging>bundle</packaging>
|
|
|
|
<name>ActiveMQ :: OSGi bundle</name>
|
|
|
|
<description>Puts together an ActiveMQ OSGi bundle</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<activemq.osgi.import.pkg>
|
2013-02-26 19:36:48 -05:00
|
|
|
!org.apache.commons.daemon,
|
|
|
|
!org.apache.maven*,
|
|
|
|
sun.misc*;resolution:=optional,
|
|
|
|
sun.nio*;resolution:=optional,
|
|
|
|
javax.jmdns*;resolution:=optional,
|
|
|
|
javax.resource*;resolution:=optional,
|
|
|
|
javax.servlet*;resolution:=optional,
|
|
|
|
com.thoughtworks.xstream*;resolution:=optional,
|
|
|
|
org.apache.activeio*;resolution:=optional,
|
|
|
|
org.apache.camel*;resolution:=optional,
|
|
|
|
org.apache.derby.jdbc*;resolution:=optional,
|
|
|
|
org.apache.geronimo.transaction.manager*;resolution:=optional,
|
|
|
|
org.apache.hadoop*;resolution:=optional,
|
|
|
|
org.apache.http*;resolution:=optional,
|
|
|
|
org.apache.xpath*;resolution:=optional,
|
|
|
|
org.bouncycastle*;resolution:=optional,
|
|
|
|
org.codehaus.jackson*;resolution:=optional,
|
|
|
|
org.codehaus.jettison*;resolution:=optional,
|
|
|
|
org.jasypt*;resolution:=optional,
|
|
|
|
org.eclipse.jetty*;resolution:=optional,
|
|
|
|
org.springframework.jms*;version="[3,4]";resolution:=optional,
|
|
|
|
org.springframework.osgi*;version="[3,4]";resolution:=optional,
|
|
|
|
org.springframework.transaction*;version="[3,4]";resolution:=optional,
|
|
|
|
org.xmlpull*;resolution:=optional,
|
|
|
|
scala*;resolution:=optional,
|
|
|
|
javax.annotation*,
|
|
|
|
javax.jms*,
|
|
|
|
javax.management
|
|
|
|
javax.transaction*,
|
|
|
|
org.apache.commons.pool*,
|
|
|
|
org.apache.commons.net*,
|
|
|
|
org.apache.xbean.spring*,
|
|
|
|
org.springframework*;version="[3,4]";resolution:=optional,
|
|
|
|
*
|
2013-01-03 13:37:45 -05:00
|
|
|
</activemq.osgi.import.pkg>
|
|
|
|
<activemq.osgi.export>
|
2013-01-27 09:03:41 -05:00
|
|
|
org.apache.activemq*;version=${project.version};-noimport:=true;-split-package:=merge-first,
|
2013-01-03 13:37:45 -05:00
|
|
|
</activemq.osgi.export>
|
2013-02-26 19:36:48 -05:00
|
|
|
<activemq.osgi.private.pkg>
|
|
|
|
org.fusesource*,
|
|
|
|
org.apache.qpid*,
|
|
|
|
com.google.common*,
|
|
|
|
org.iq80*
|
|
|
|
</activemq.osgi.private.pkg>
|
2013-01-03 13:37:45 -05:00
|
|
|
<activemq.osgi.dynamic.import>*</activemq.osgi.dynamic.import>
|
|
|
|
<surefire.argLine>-Xmx512M</surefire.argLine>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- The core broker dependency -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-broker</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Additional message store impls -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-kahadb-store</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-jdbc-store</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-leveldb-store</artifactId>
|
2013-01-27 09:03:41 -05:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>uber</classifier>
|
2013-01-03 13:37:45 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Additional protocol impls -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-stomp</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-amqp</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-mqtt</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-http</artifactId>
|
|
|
|
</dependency>
|
2013-02-13 09:44:56 -05:00
|
|
|
<!--
|
2013-01-03 13:37:45 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-xmpp</artifactId>
|
|
|
|
</dependency>
|
2013-02-13 09:44:56 -05:00
|
|
|
-->
|
2013-01-03 13:37:45 -05:00
|
|
|
|
|
|
|
<!-- Additional Dependencies. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-camel</artifactId>
|
|
|
|
</dependency>
|
2013-01-18 05:12:11 -05:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-jaas</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-console</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-ra</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2013-01-28 17:44:25 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>activemq-spring</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2013-01-22 05:39:23 -05:00
|
|
|
|
2013-01-28 17:44:25 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.compendium</artifactId>
|
|
|
|
<version>4.2.0</version>
|
|
|
|
</dependency>
|
2013-01-22 05:39:23 -05:00
|
|
|
|
2013-01-03 13:37:45 -05:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2013-01-23 07:37:13 -05:00
|
|
|
<!-- Copy all necessary resources from other modules, like spring schema mapping, xbean resources, etc. -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-xbean</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/classes/</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/../activemq-spring/target/classes/</directory>
|
|
|
|
<includes>
|
|
|
|
<include>activemq.xsd*</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-spring</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/classes/META-INF</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/../activemq-spring/target/classes/META-INF</directory>
|
|
|
|
<includes>
|
|
|
|
<include>spring.*</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2013-01-18 05:12:11 -05:00
|
|
|
|
2013-01-03 13:37:45 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<instructions>
|
2013-01-28 17:44:25 -05:00
|
|
|
<Bundle-Activator>org.apache.activemq.util.osgi.Activator</Bundle-Activator>
|
2013-01-29 09:36:39 -05:00
|
|
|
<Embed-Dependency>
|
|
|
|
*;
|
|
|
|
groupId=org.apache.activemq;inline=META-INF/services/*,
|
|
|
|
groupId=org.fusesource.leveldbjni;inline=META-INF/native/*,
|
|
|
|
groupId=org.xerial.snappy;inline=org/xerial/snappy/*</Embed-Dependency>
|
2013-01-28 17:44:25 -05:00
|
|
|
<Embed-Transitive>true</Embed-Transitive>
|
2013-01-29 09:36:39 -05:00
|
|
|
<Bundle-NativeCode>
|
|
|
|
META-INF/native/windows32/leveldbjni.dll;osname=Win32;processor=x86,
|
|
|
|
META-INF/native/windows64/leveldbjni.dll;osname=Win32;processor=x86-64,
|
|
|
|
META-INF/native/osx/libleveldbjni.jnilib;osname=macosx,
|
|
|
|
META-INF/native/linux32/libleveldbjni.so;osname=Linux;processor=x86,
|
|
|
|
META-INF/native/linux64/libleveldbjni.so;osname=Linux;processor=x86-64,
|
|
|
|
org/xerial/snappy/native/Linux/i386/libsnappyjava.so;osname=Linux;processor=x86,
|
|
|
|
org/xerial/snappy/native/Mac/i386/libsnappyjava.jnilib;osname=macosx;processor=x86,
|
|
|
|
org/xerial/snappy/native/Mac/x86_64/libsnappyjava.jnilib;osname=macosx;processor=x86-64,
|
|
|
|
org/xerial/snappy/native/Windows/amd64/snappyjava.dll;osname=Win32;processor=x86-64,
|
|
|
|
org/xerial/snappy/native/Windows/x86/snappyjava.dll;osname=Win32;processor=x86
|
|
|
|
</Bundle-NativeCode>
|
|
|
|
</instructions>
|
2013-01-03 13:37:45 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>deploy</id>
|
|
|
|
<build>
|
|
|
|
<defaultGoal>deploy</defaultGoal>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>2.1.2</version>
|
|
|
|
<configuration>
|
|
|
|
<attach>false</attach>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|