META-INF.maven.org.apache.activemq.activemq-http.pom.xml Maven / Gradle / Ivy
<?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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.activemq</groupId> <artifactId>activemq-parent</artifactId> <version>5.18.2</version> </parent> <artifactId>activemq-http</artifactId> <packaging>jar</packaging> <name>ActiveMQ :: HTTP Protocol Support</name> <description>ActiveMQ HTTP Protocol Support</description> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>activemq-spring</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jms</artifactId> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>activemq-stomp</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>activemq-mqtt</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-xml</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-webapp</artifactId> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> </dependency> <dependency> <groupId>com.thoughtworks.xstream</groupId> <artifactId>xstream</artifactId> </dependency> <!-- =============================== --> <!-- Testing Dependencies --> <!-- =============================== --> <dependency> <groupId>${project.groupId}</groupId> <artifactId>activemq-unit-tests</artifactId> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>activemq-broker</artifactId> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>activemq-jaas</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-kahadb-store</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>${commons-lang-version}</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j2-impl</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-server</artifactId> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <configuration> <instructions> <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> <Fragment-Host>org.apache.activemq.activemq-core</Fragment-Host> <Export-Package> org.apache.activemq.transport.http*;version=${project.version};-noimport:=;-split-package:=merge-last, org.apache.activemq.transport.https*;version=${project.version};-noimport:=;-split-package:=merge-last </Export-Package> <Import-Package> org.eclipse.jetty*;version="[9.0,10.0)";resolution:=optional, !org.apache.activemq.transport.ws*;version=${project.version}, !org.apache.activemq.transport.xstream;version=${project.version}, !org.apache.activemq.transport.util;version=${project.version}, org.apache.xbean*;version="[3.13,5)", org.apache.activemq*;version=${project.version};resolution:=optional </Import-Package> </instructions> </configuration> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> <!-- Configure which tests are included/excuded --> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <forkCount>1</forkCount> <reuseForks>false</reuseForks> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>activemq.tests-quick</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes combine.children="append"> <!-- These are performance tests so take too long to run --> <exclude>**/perf/*</exclude> <!-- These are load tests so take too long to run --> <exclude>**/load/*</exclude> <exclude>org/apache/activemq/transport/http/HttpClientReconnectTest.*</exclude> <exclude>org/apache/activemq/transport/http/HttpJmsDurableTopicSendReceiveTest.*</exclude> <exclude>org/apache/activemq/transport/http/HttpPersistentSendAndReceiveTest.*</exclude> <exclude>org/apache/activemq/transport/http/HttpSpringTest.*</exclude> </excludes> </configuration> </plugin> </plugins> </build> </profile> <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>**/HttpsJmsSendAndReceiveTest.*</include> <include>**/WSTransportTest.*</include> </includes> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>activemq.tests-autoTransport</id> <activation> <property> <name>activemq.tests</name> <value>autoTransport</value> </property> </activation> <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**</exclude> </excludes> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>