blob: a7640ff0ccc57d4f8f2a4cf804dc5c0be7c2a4a6 [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>14</version>
<relativePath>../bundles-pom/pom.xml</relativePath>
</parent>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.spring-web</artifactId>
<version>5.2.5.RELEASE_1</version>
<packaging>bundle</packaging>
<name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
<scm>
<connection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=servicemix-bundles.git</url>
<tag>org.apache.servicemix.bundles.spring-web-5.2.5.RELEASE_1</tag>
</scm>
<properties>
<pkgGroupId>org.springframework</pkgGroupId>
<pkgArtifactId>spring-web</pkgArtifactId>
<pkgVersion>5.2.5.RELEASE</pkgVersion>
<servicemix.osgi.export.pkg>
org.springframework
</servicemix.osgi.export.pkg>
<servicemix.osgi.import.pkg>
com.squareup.okhttp.internal.http;resolution:=optional,
javax.net.ssl, okhttp3.internal.http;resolution:=optional,
com.caucho.*;version="[4,5)";resolution:=optional,
com.fasterxml.jackson.*;version="[2,3)";resolution:=optional,
com.google.gson;version="[2.3,3)";resolution:=optional,
com.google.gson.reflect;version="[2.3,3)";resolution:=optional,
com.google.protobuf;version="[2.6,3)";resolution:=optional,
com.googlecode.protobuf.format;resolution:=optional,
com.squareup.okhttp;version="[2.4,3)";resolution:=optional,
com.rometools.rome.feed;version="[1.5,2)";resolution:=optional,
com.rometools.rome.feed.atom;version="[1.5,2)";resolution:=optional,
com.rometools.rome.feed.rss;version="[1.5,2)";resolution:=optional,
com.rometools.rome.io;version="[1.5,2)";resolution:=optional,
com.sun.net.*;resolution:=optional,
groovy.lang;version="[2.4,3)";resolution:=optional,
io.netty.bootstrap;resolution:=optional,
io.netty.buffer;resolution:=optional,
io.netty.channel;resolution:=optional,
io.netty.channel.nio;resolution:=optional,
io.netty.channel.socket;resolution:=optional,
io.netty.channel.socket.nio;resolution:=optional,
io.netty.handler.codec.http;resolution:=optional,
io.netty.handler.ssl;resolution:=optional,
io.netty.handler.timeout;resolution:=optional,
io.netty.util.concurrent;resolution:=optional,
javax.activation.*;resolution:=optional,
javax.el.*;resolution:=optional,
javax.faces.*;resolution:=optional,
javax.imageio.*;resolution:=optional,
javax.jws.*;resolution:=optional,
javax.mail.internet;resolution:=optional,
javax.portlet.*;resolution:=optional,
javax.servlet,
javax.servlet.http,
javax.servlet.annotation;resolution:=optional,
javax.servlet.jsp.*;resolution:=optional,
javax.validation;resolution:=optional,
javax.xml.*;resolution:=optional,
okhttp3;resolution:=optional,
org.aopalliance.*;version="[1,2)",
org.apache.commons.fileupload.*;version="[1.3,2)";resolution:=optional,
org.apache.commons.logging.*;version="[1.1.1,2)",
org.apache.http.*;version="[4,5)";resolution:=optional,
org.apache.log4j.*;version="[1.2,2)";resolution:=optional,
org.springframework.aop.*;version="[${pkgVersion},5.3)",
org.springframework.beans.*;version="[${pkgVersion},5.3)",
org.springframework.context.*;version="[${pkgVersion},5.3)",
org.springframework.core.*;version="[${pkgVersion},5.3)",
org.springframework.format.support;version="[${pkgVersion},5.3)";resolution:=optional,
org.springframework.jndi.*;version="[${pkgVersion},5.3)";resolution:=optional,
org.springframework.oxm.*;version="[${pkgVersion},5.3)";resolution:=optional,
org.springframework.remoting.*;version="[${pkgVersion},5.3)";resolution:=optional,
org.springframework.stereotype.*;version="[${pkgVersion},5.3)";resolution:=optional,
org.springframework.ui.*;version="[${pkgVersion},5.3)",
org.springframework.util.*;version="[${pkgVersion},5.3)",
org.springframework.validation.*;version="[${pkgVersion},5.3)",
org.joda.time;version="[2,3)";resolution:=optional,
org.joda.time.format;version="[2,3)";resolution:=optional,
com.fasterxml.jackson.datatype.joda.*;version="[2,3)";resolution:=optional,
org.xml.sax.*;resolution:=optional,
org.w3c.dom.*;resolution:=optional
</servicemix.osgi.import.pkg>
<servicemix.osgi.private.pkg>
META-INF.services*
</servicemix.osgi.private.pkg>
</properties>
<dependencies>
<dependency>
<groupId>${pkgGroupId}</groupId>
<artifactId>${pkgArtifactId}</artifactId>
<version>${pkgVersion}</version>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</exclusion>
<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-oxm</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-aop</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</exclusion>
<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-oxm</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>**/*.properties</include>
<include>META-INF/web-fragment.xml</include>
<include>META-INF/services/**</include>
</includes>
</filter>
</filters>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
<createDependencyReducedPom>true</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>