blob: 3146d0414ac8bea3c763de1868674b602ab8b4ee [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-webmvc</artifactId>
<version>4.1.1.RELEASE_4-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
<properties>
<pkgGroupId>org.springframework</pkgGroupId>
<pkgArtifactId>spring-webmvc</pkgArtifactId>
<pkgVersion>4.1.1.RELEASE</pkgVersion>
<servicemix.osgi.export.pkg>
org.springframework
</servicemix.osgi.export.pkg>
<servicemix.osgi.import.pkg>
com.lowagie.text.*;version="[2,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,
freemarker.*;version="[2.3,3)";resolution:=optional,
groovy.lang;version="[2.3,3)";resolution:=optional,
groovy.text;version="[2.3,3)";resolution:=optional,
groovy.text.markup;version="[2.3,3)";resolution:=optional,
javax.activation.*;resolution:=optional,
javax.el.*;resolution:=optional,
javax.sql.*;resolution:=optional,
javax.servlet,
javax.servlet.http,
javax.servlet.jsp.*;resolution:=optional,
javax.xml.*;resolution:=optional,
jxl.*;version="[2.6,3)";resolution:=optional,
net.sf.jasperreports.*;version="[5,6)";resolution:=optional,
org.aopalliance.aop;resolution:=optional,
org.aopalliance.intercept;resolution:=optional,
org.apache.commons.logging.*;version="[1.1.1,2)";resolution:=optional,
org.apache.poi.*;version="[3,4)";resolution:=optional,
org.apache.tiles.*;version="[3,4)";resolution:=optional,
org.apache.velocity.*;version="[1.7,2)";resolution:=optional,
com.fasterxml.jackson.*;version="[2.4,3)";resolution:=optional,
org.springframework.aop.framework;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.aop.target;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.beans.*;version="[${pkgVersion},4.2)",
org.springframework.cache;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.cache.concurrent;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.context.*;version="[${pkgVersion},4.2)",
org.springframework.core.*;version="[${pkgVersion},4.2)",
org.springframework.cglib*;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.expression.*;version="[${pkgVersion},4.2)",
org.springframework.format.*;version="[${pkgVersion},4.2)",
org.springframework.http.*;version="[${pkgVersion},4.2)",
org.springframework.oxm.*;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.objenesis;version="[${pkgVersion},4.2)";resolution:=optional,
org.springframework.stereotype;version="[${pkgVersion},4.2)",
org.springframework.ui.*;version="[${pkgVersion},4.2)",
org.springframework.util.*;version="[${pkgVersion},4.2)",
org.springframework.validation.*;version="[${pkgVersion},4.2)",
org.springframework.web.*;version="[${pkgVersion},4.2)",
org.xml.sax.*;resolution:=optional,
org.w3c.dom.*;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-aop</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</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-aop</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</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>**/*.properties</include>
<include>**/*.ftl</include>
<include>**/*.vm</include>
<include>**/*.gif</include>
<include>**/*.xsd</include>
<include>META-INF/spring*</include>
</includes>
</filter>
</filters>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
<createDependencyReducedPom>true</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>