| <?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-web</artifactId> |
| <version>4.0.7.RELEASE_3-SNAPSHOT</version> |
| <packaging>bundle</packaging> |
| <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> |
| |
| <properties> |
| <pkgGroupId>org.springframework</pkgGroupId> |
| <pkgArtifactId>spring-web</pkgArtifactId> |
| <pkgVersion>4.0.7.RELEASE</pkgVersion> |
| <servicemix.osgi.export.pkg> |
| org.springframework |
| </servicemix.osgi.export.pkg> |
| <servicemix.osgi.import.pkg> |
| com.caucho.*;version="[3.2.1, 5.0.0)";resolution:=optional, |
| com.sun.syndication.*;version="[1.0.0, 2.0.0)";resolution:=optional, |
| org.codehaus.jackson.*;version="[1.3.0, 2.0.0)";resolution:=optional, |
| com.fasterxml.jackson.*;version="[2.0.0, 3.0.0)";resolution:=optional, |
| com.sun.net.*;resolution:=optional, |
| javax.activation.*;resolution:=optional, |
| javax.el.*;version="[1.0.0, 3.0.0)";resolution:=optional, |
| javax.faces.*;version="[1.1.0, 3.0.0)";resolution:=optional, |
| javax.imageio.*;resolution:=optional, |
| javax.jws.*;resolution:=optional, |
| javax.portlet.*;version="[2.0.0, 3.0.0)";resolution:=optional, |
| javax.servlet;version="[2.4.0, 4.0.0)", |
| javax.servlet.http;version="[2.4.0, 4.0.0)", |
| javax.servlet.annotation;version="[3.0.0, 4.0.0)";resolution:=optional, |
| javax.servlet.jsp.*;version="[2.0.0, 3.0.0)";resolution:=optional, |
| javax.xml.*;resolution:=optional, |
| org.aopalliance.*;version="[1.0.0, 2.0.0)", |
| org.apache.commons.fileupload.*;version="[1.2.0, 2.0.0)";resolution:=optional, |
| org.apache.commons.logging.*;version="[1.1.1, 2.0.0)", |
| org.apache.http.*;version="[4.1.0, 5.0.0)";resolution:=optional, |
| org.apache.log4j.*;version="[1.2.15, 2.0.0)";resolution:=optional, |
| org.springframework.aop.*;version="[${pkgVersion},4.1)", |
| org.springframework.beans.*;version="[${pkgVersion},4.1)", |
| org.springframework.context.*;version="[${pkgVersion},4.1)", |
| org.springframework.core.*;version="[${pkgVersion},4.1)", |
| org.springframework.format.support;version="[${pkgVersion},4.1)";resolution:=optional, |
| org.springframework.jndi.*;version="[${pkgVersion},4.1)";resolution:=optional, |
| org.springframework.oxm.*;version="[${pkgVersion},4.1)";resolution:=optional, |
| org.springframework.remoting.*;version="[${pkgVersion},4.1)";resolution:=optional, |
| org.springframework.stereotype.*;version="[${pkgVersion},4.1)";resolution:=optional, |
| org.springframework.ui.*;version="[${pkgVersion},4.1)", |
| org.springframework.util.*;version="[${pkgVersion},4.1)", |
| org.springframework.validation.*;version="[${pkgVersion},4.1)", |
| 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> |