| <?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-jdbc</artifactId> |
| <version>4.0.6.RELEASE_5-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> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <properties> |
| <pkgGroupId>org.springframework</pkgGroupId> |
| <pkgArtifactId>spring-jdbc</pkgArtifactId> |
| <pkgVersion>4.0.6.RELEASE</pkgVersion> |
| <servicemix.osgi.export.pkg> |
| org.springframework |
| </servicemix.osgi.export.pkg> |
| <servicemix.osgi.import.pkg> |
| com.ibm.websphere.rsadapter;resolution:=optional, |
| com.ibm.ws.rsadapter.jdbc;resolution:=optional, |
| com.mchange.v2.c3p0;version="[0.9.1,2)";resolution:=optional, |
| com.sun.rowset;version="[1.0.1,2)";resolution:=optional, |
| javax.naming;resolution:=optional, |
| javax.sql, |
| javax.sql.rowset, |
| javax.transaction;version="[1.0.1,2)";resolution:=optional, |
| javax.xml.transform;resolution:=optional, |
| javax.xml.transform.dom;resolution:=optional, |
| oracle.jdbc;resolution:=optional, |
| oracle.sql;resolution:=optional, |
| org.apache.commons.logging;version="[1.1.1,2)";resolution:=optional, |
| org.apache.derby.impl.io;version="[10.5.0,11)";resolution:=optional, |
| org.apache.derby.jdbc;version="[10.5.0,11)";resolution:=optional, |
| org.h2;version="[1,2)";resolution:=optional, |
| org.hsqldb;version="[1.8,2)";resolution:=optional, |
| org.jboss.resource.adapter.jdbc;resolution:=optional, |
| org.springframework.beans;version="[${pkgVersion},4.1)", |
| org.springframework.beans.factory;version="[${pkgVersion},4.1)", |
| org.springframework.beans.factory.config;version="[${pkgVersion},4.1)", |
| org.springframework.beans.factory.support;version="[${pkgVersion},4.1)", |
| org.springframework.beans.factory.xml;version="[${pkgVersion},4.1)", |
| org.springframework.context;version="[${pkgVersion},4.1)", |
| org.springframework.core;version="[${pkgVersion},4.1)", |
| org.springframework.core.io;version="[${pkgVersion},4.1)", |
| org.springframework.core.io.support;version="[${pkgVersion},4.1)", |
| org.springframework.dao;version="[${pkgVersion},4.1)", |
| org.springframework.dao.support;version="[${pkgVersion},4.1)", |
| org.springframework.jndi;version="[${pkgVersion},4.1)", |
| org.springframework.transaction;version="[${pkgVersion},4.1)", |
| org.springframework.transaction.support;version="[${pkgVersion},4.1)", |
| org.springframework.util;version="[${pkgVersion},4.1)", |
| org.springframework.util.xml;version="[${pkgVersion},4.1)", |
| org.w3c.dom;resolution:=optional, |
| weblogic.jdbc.extensions;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-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-tx</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-beans</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-tx</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>**/*.gif</include> |
| <include>**/*.xsd</include> |
| <include>**/*.xml</include> |
| <include>META-INF/spring*</include> |
| </includes> |
| </filter> |
| </filters> |
| <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |