blob: dbffedfb2f986a7b40057f515e039e3d8ba91719 [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-test</artifactId>
<version>3.2.9.RELEASE_3-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
<properties>
<pkgGroupId>org.springframework</pkgGroupId>
<pkgArtifactId>spring-test</pkgArtifactId>
<pkgVersion>3.2.9.RELEASE</pkgVersion>
<servicemix.osgi.export.pkg>
org.springframework
</servicemix.osgi.export.pkg>
<servicemix.osgi.import.pkg>
com.jayway.jsonpath;version="[0.8.1,1)";resolution:=optional,
javax.activation;resolution:=optional,
javax.el;version="[1,3)";resolution:=optional,
javax.naming;resolution:=optional,
javax.naming.spi;resolution:=optional,
javax.persistence;version="[1,3)";resolution:=optional,
javax.portlet;version="[2,3)";resolution:=optional,
javax.servlet;version="[2.5,4)";resolution:=optional,
javax.servlet.http;version="[2.5,4)";resolution:=optional,
javax.servlet.jsp;version="[2.1,3)";resolution:=optional,
javax.servlet.jsp.el;version="[2.1,3)";resolution:=optional,
javax.servlet.jsp.tagext;version="[2.1,3)";resolution:=optional,
javax.sql;resolution:=optional,
javax.xml.namespace;resolution:=optional,
javax.xml.parsers;resolution:=optional,
javax.xml.transform,
javax.xml.transform.dom,
javax.xml.xpath;resolution:=optional,
junit.framework;version="[4.11,5)";resolution:=optional,
org.apache.commons.logging;version="[1.1.1,2)";resolution:=optional,
org.apache.taglibs.standard.lang.support;version="[1.1.0,2)";resolution:=optional,
org.aspectj.weaver.loadtime;version="[1.7.1,2)";resolution:=optional,
org.custommonkey.xmlunit;version="[1.2,2)";resolution:=optional,
org.hamcrest;version="[1.3.0,2)";resolution:=optional,
org.junit;version="[4.11,5)";resolution:=optional,
org.junit.internal;version="[4.11,5)";resolution:=optional,
org.junit.internal.runners.model;version="[4.11,5)";resolution:=optional,
org.junit.internal.runners.statements;version="[4.11,5)";resolution:=optional,
org.junit.runner;version="[4.11,5)";resolution:=optional,
org.junit.runner.notification;version="[4.11,5)";resolution:=optional,
org.junit.runners;version="[4.11,5)";resolution:=optional,
org.junit.runners.model;version="[4.11,5)";resolution:=optional,
org.springframework.beans;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.beans.factory;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.beans.factory.annotation;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.beans.factory.config;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.beans.factory.support;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.beans.factory.xml;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.context;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.context.annotation;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.context.support;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.core;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.core.annotation;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.core.env;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.core.io;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.core.io.support;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.core.style;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.dao;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.format.support;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.http;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.http.client;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.http.converter;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.instrument.classloading;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.jdbc.core;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.jdbc.core.simple;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.jndi;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.orm.jpa;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.orm.jpa.persistenceunit;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.transaction;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.transaction.annotation;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.transaction.interceptor;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.transaction.support;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.ui;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.util;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.util.xml;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.validation;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.accept;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.client;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.client.support;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.context;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.context.request;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.context.request.async;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.context.support;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.method;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.method.support;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.multipart;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.portlet.multipart;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.servlet;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.servlet.config.annotation;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.servlet.handler;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.servlet.i18n;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.servlet.mvc.method.annotation;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.servlet.support;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.servlet.theme;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.servlet.view;version="[${pkgVersion},3.3)";resolution:=optional,
org.springframework.web.util;version="[${pkgVersion},3.3)";resolution:=optional,
org.testng;resolution:=optional,
org.testng.annotations;resolution:=optional,
org.w3c.dom;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-core</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-core</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>