| <?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>8</version> |
| <relativePath>../bundles-pom/pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.openjpa</artifactId> |
| <version>1.2.1_6-SNAPSHOT</version> |
| <packaging>bundle</packaging> |
| <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> |
| <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description> |
| |
| <properties> |
| <pkgGroupId>org.apache.openjpa</pkgGroupId> |
| <pkgArtifactId>openjpa</pkgArtifactId> |
| <pkgVersion>1.2.1</pkgVersion> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.servicemix.specs</groupId> |
| <artifactId>org.apache.servicemix.specs.locator</artifactId> |
| <version>1.3.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>1.2.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>${pkgGroupId}</groupId> |
| <artifactId>${pkgArtifactId}</artifactId> |
| <version>${pkgVersion}</version> |
| <optional>true</optional> |
| </dependency> |
| |
| <!-- sources --> |
| <dependency> |
| <groupId>${pkgGroupId}</groupId> |
| <artifactId>${pkgArtifactId}</artifactId> |
| <version>${pkgVersion}</version> |
| <classifier>sources</classifier> |
| <optional>true</optional> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.5</source> |
| <target>1.5</target> |
| <maxmem>256M</maxmem> |
| <fork>${compiler.fork}</fork> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| <Export-Package>org.apache.openjpa*;version=1.2.1;-split-package:=merge-first</Export-Package> |
| <Import-Package> |
| !org.apache.openjpa*, |
| !com.ibm*, |
| !org.postgresql*, |
| javax.jms*;resolution:=optional;version="[1.1,2)", |
| javax.persistence*;version="[1,2)", |
| javax.transaction*;resolution:=optional;version="[1.1,2)", |
| javax.xml.bind*;version="[2,3)", |
| org.apache.commons.collections*;version="[3.2,4)", |
| org.apache.commons.logging*;version="[1.0,2)", |
| org.apache.commons.lang*;version="[2.1,3)", |
| org.apache.commons.pool*;resolution:=optional;version="[1.3,2)", |
| org.apache.log4j*;resolution:=optional;version="[1.2,2)", |
| org.apache.tools.ant*;resolution:=optional;version="[1.7,2)", |
| serp*;version="[1.13,1.14)", |
| * |
| </Import-Package> |
| <Private-Package> |
| org.apache.servicemix.specs.locator;-split-package:=merge-first, |
| org.apache.servicemix.bundles.openjpa;-split-package:=merge-first |
| </Private-Package> |
| <Bundle-Activator>org.apache.servicemix.bundles.openjpa.Activator</Bundle-Activator> |
| <Implementation-Title>Apache ServiceMix</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <_failok>true</_failok> |
| </instructions> |
| <unpackBundle>true</unpackBundle> |
| </configuration> |
| </plugin> |
| <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> |
| <include>org.apache.servicemix.specs:org.apache.servicemix.specs.locator</include> |
| </includes> |
| </artifactSet> |
| <filters> |
| <filter> |
| <artifact>${pkgGroupId}:${pkgArtifactId}</artifact> |
| <excludes> |
| <exclude>**</exclude> |
| </excludes> |
| </filter> |
| <filter> |
| <artifact>org.apache.servicemix.specs:org.apache.servicemix.specs.locator</artifact> |
| <excludes> |
| <exclude>org/**</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |