| <?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.jaxb-impl</artifactId> |
| <version>2.2.11_2-SNAPSHOT</version> |
| <packaging>bundle</packaging> |
| <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> |
| <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description> |
| |
| <properties> |
| <pkgGroupId>com.sun.xml.bind</pkgGroupId> |
| <pkgArtifactId>jaxb-impl</pkgArtifactId> |
| <pkgVersion>2.2.11</pkgVersion> |
| <servicemix.osgi.export.pkg> |
| com.sun.xml.bind*;-split-package:=merge-first, |
| com.sun.istack*;-split-package:=merge-first, |
| com.sun.xml.txw2*;-split-package:=merge-first |
| </servicemix.osgi.export.pkg> |
| <servicemix.osgi.import.pkg> |
| javax.activation, |
| javax.imageio, |
| javax.imageio.stream, |
| javax.lang.model, |
| javax.xml.bind, |
| javax.xml.bind.annotation, |
| javax.xml.bind.annotation.adapters, |
| javax.xml.bind.attachment, |
| javax.xml.bind.helpers, |
| javax.xml.datatype, |
| javax.xml.namespace, |
| javax.xml.parsers, |
| javax.xml.transform, |
| javax.xml.transform.dom, |
| javax.xml.transform.sax, |
| javax.xml.transform.stream, |
| javax.xml.validation, |
| javax.xml.xpath, |
| org.w3c.dom, |
| org.xml.sax, |
| org.xml.sax.ext, |
| org.xml.sax.helpers, |
| com.sun.xml.fastinfoset*;resolution:=optional, |
| javax.xml.stream*;resolution:=optional, |
| org.jvnet.fastinfoset*;resolution:=optional, |
| org.jvnet.staxex*;resolution:=optional |
| </servicemix.osgi.import.pkg> |
| <servicemix.osgi.private.pkg> |
| META-INF;-split-package:=merge-first, |
| META-INF.services;-split-package:=merge-first, |
| </servicemix.osgi.private.pkg> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${pkgGroupId}</groupId> |
| <artifactId>${pkgArtifactId}</artifactId> |
| <version>${pkgVersion}</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>${pkgGroupId}</groupId> |
| <artifactId>jaxb-core</artifactId> |
| <version>${pkgVersion}</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.specs</groupId> |
| <artifactId>org.apache.servicemix.specs.stax-api-1.0</artifactId> |
| <version>1.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.specs</groupId> |
| <artifactId>org.apache.servicemix.specs.jaxb-api-2.2</artifactId> |
| <version>1.6.0</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.activation</groupId> |
| <artifactId>activation</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-activation_1.1_spec</artifactId> |
| </exclusion> |
| </exclusions> |
| </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-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <artifactSet> |
| <includes> |
| <include>${pkgGroupId}:${pkgArtifactId}</include> |
| <include>${pkgGroupId}:jaxb-core</include> |
| </includes> |
| </artifactSet> |
| <filters> |
| <filter> |
| <artifact>${pkgGroupId}:${pkgArtifactId}</artifact> |
| <includes> |
| <include>*.properties</include> |
| </includes> |
| </filter> |
| <filter> |
| <artifact>${pkgGroupId}:jaxb-core</artifact> |
| <includes> |
| <include>*.properties</include> |
| </includes> |
| </filter> |
| </filters> |
| <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |