| <?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>12</version> |
| <relativePath>../bundles-pom/pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.spring-webmvc-portlet</artifactId> |
| <version>4.2.2.RELEASE_1-SNAPSHOT</version> |
| <packaging>bundle</packaging> |
| <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> |
| |
| <scm> |
| <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection> |
| <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection> |
| <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url> |
| </scm> |
| |
| <properties> |
| <pkgGroupId>org.springframework</pkgGroupId> |
| <pkgArtifactId>spring-webmvc-portlet</pkgArtifactId> |
| <pkgVersion>4.2.2.RELEASE</pkgVersion> |
| <servicemix.osgi.export.pkg> |
| org.springframework |
| </servicemix.osgi.export.pkg> |
| <servicemix.osgi.import.pkg> |
| javax.portlet;resolution:=optional, |
| javax.portlet.filter;resolution:=optional, |
| javax.servlet;resolution:=optional, |
| javax.servlet.http;resolution:=optional, |
| javax.xml;resolution:=optional, |
| javax.xml.namespace;resolution:=optional, |
| org.apache.commons.fileupload;resolution:=optional, |
| org.apache.commons.fileupload.disk;resolution:=optional, |
| org.apache.commons.fileupload.portlet;resolution:=optional, |
| org.apache.commons.logging;version="[1.1.1,2)";resolution:=optional, |
| org.springframework.beans;version="[${pkgVersion},4.3)", |
| org.springframework.beans.factory;version="[${pkgVersion},4.3)", |
| org.springframework.beans.factory.config;version="[${pkgVersion},4.3)", |
| org.springframework.beans.factory.support;version="[${pkgVersion},4.3)", |
| org.springframework.beans.factory.xml;version="[${pkgVersion},4.3)", |
| org.springframework.context;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.context.event;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.context.i18n;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.context.support;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.core;version="[${pkgVersion},4.3)", |
| org.springframework.core.annotation;version="[${pkgVersion},4.3)", |
| org.springframework.core.env;version="[${pkgVersion},4.3)", |
| org.springframework.core.io;version="[${pkgVersion},4.3)", |
| org.springframework.core.io.support;version="[${pkgVersion},4.3)", |
| org.springframework.core.style;version="[${pkgVersion},4.3)", |
| org.springframework.http;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.http.converter;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.jndi;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.stereotype;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.ui;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.util;version="[${pkgVersion},4.3)", |
| org.springframework.validation;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.validation.support;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.web.bind;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.web.bind.annotation;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.web.bind.annotation.support;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.web.bind.support;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.web.context;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.web.context.request;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.web.context.support;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.web.multipart;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.web.multipart.commons;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.web.servlet;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.web.servlet.mvc.annotation;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.springframework.web.util;version="[${pkgVersion},4.3)";resolution:=optional, |
| org.xml.sax;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-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-web</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-webmvc</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> |
| <excludes> |
| <exclude>**/*</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |