blob: 54a53fb01c88da7bf29e93df4d0bc4886049cdfc [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<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">
<!--
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.
-->
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>bundles-pom</artifactId>
<version>11</version>
<relativePath>../bundles-pom/pom.xml</relativePath>
</parent>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.spring-websocket</artifactId>
<version>4.1.4.RELEASE_2-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
<properties>
<pkgGroupId>org.springframework</pkgGroupId>
<pkgArtifactId>spring-websocket</pkgArtifactId>
<pkgVersion>4.1.4.RELEASE</pkgVersion>
<servicemix.osgi.export.pkg>
org.springframework
</servicemix.osgi.export.pkg>
<servicemix.osgi.import.pkg>
com.fasterxml.jackson.core.io;resolution:=optional,
com.fasterxml.jackson.databind;resolution:=optional,
io.undertow.client;resolution:=optional,
io.undertow.server;resolution:=optional,
io.undertow.servlet.api;resolution:=optional,
io.undertow.servlet.websockets;resolution:=optional,
io.undertow.util;resolution:=optional,
io.undertow.websockets.core;resolution:=optional,
io.undertow.websockets.core.protocol;resolution:=optional,
io.undertow.websockets.core.protocol.version07;resolution:=optional,
io.undertow.websockets.core.protocol.version08;resolution:=optional,
io.undertow.websockets.core.protocol.version13;resolution:=optional,
io.undertow.websockets.jsr;resolution:=optional,
io.undertow.websockets.jsr.annotated;resolution:=optional,
io.undertow.websockets.jsr.handshake;resolution:=optional,
io.undertow.websockets.spi;resolution:=optional,
javax.servlet;resolution:=optional,
javax.servlet.http;resolution:=optional,
javax.websocket;resolution:=optional,
javax.websocket.server;resolution:=optional,
org.apache.commons.logging;version="[1.1.1,2)";resolution:=optional,
org.apache.tomcat.websocket.server;resolution:=optional,
org.eclipse.jetty.client;resolution:=optional,
org.eclipse.jetty.client.api;resolution:=optional,
org.eclipse.jetty.client.util;resolution:=optional,
org.eclipse.jetty.http;resolution:=optional,
org.eclipse.jetty.websocket.api;resolution:=optional,
org.eclipse.jetty.websocket.api.annotations;resolution:=optional,
org.eclipse.jetty.websocket.api.extensions;resolution:=optional,
org.eclipse.jetty.websocket.client;resolution:=optional,
org.eclipse.jetty.websocket.common;resolution:=optional,
org.eclipse.jetty.websocket.server;resolution:=optional,
org.eclipse.jetty.websocket.servlet;resolution:=optional,
org.glassfish.tyrus.core;resolution:=optional,
org.glassfish.tyrus.servlet;resolution:=optional,
org.glassfish.tyrus.server;resolution:=optional,
org.glassfish.tyrus.spi;resolution:=optional,
org.glassfish.tyrus.websockets;resolution:=optional,
org.springframework.beans;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.beans.factory;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.beans.factory.annotation;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.beans.factory.config;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.beans.factory.parsing;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.beans.factory.support;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.beans.factory.xml;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.context;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.context.annotation;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.core;version="[${pkgVersion},4.2)",
org.springframework.core.annotation;version="[${pkgVersion},4.2)",
org.springframework.core.convert;version="[${pkgVersion},4.2)",
org.springframework.core.task;version="[${pkgVersion},4.2)",
org.springframework.http;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.http.client;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.http.converter;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.http.converter.json;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.http.server;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.messaging;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.messaging.converter;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.messaging.handler.invocation;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.messaging.simp;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.messaging.simp.annotation.support;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.messaging.simp.broker;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.messaging.simp.config;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.messaging.simp.stomp;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.messaging.simp.user;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.messaging.support;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.scheduling;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.scheduling.concurrent;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.stereotype;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.util;version="[${pkgVersion},4.2)",
org.springframework.util.concurrent;version="[${pkgVersion},4.2)",
org.springframework.util.xml;version="[${pkgVersion},4.2)",
org.springframework.web;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.web.client;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.web.context;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.web.context.support;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.web.servlet;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.web.servlet.handler;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.web.util;version="[${pkgVersion},4.2)";resolution:=optional,
org.w3c.dom;resolution:=optional,
org.xnio;resolution:=optional,
org.xnio.channels;resolution:=optional
</servicemix.osgi.import.pkg>
</properties>
<dependencies>
<dependency>
<groupId>${pkgGroupId}</groupId>
<artifactId>${pkgArtifactId}</artifactId>
<version>${pkgVersion}</version>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- sources -->
<dependency>
<groupId>${pkgGroupId}</groupId>
<artifactId>${pkgArtifactId}</artifactId>
<version>${pkgVersion}</version>
<classifier>sources</classifier>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>${pkgGroupId}:${pkgArtifactId}</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
<includes>
<include>**/*.xsd</include>
<include>META-INF/spring*</include>
</includes>
</filter>
</filters>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
<createDependencyReducedPom>true</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>