<?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/maven-v4_0_0.xsd">
  <parent>
    <artifactId>bundles-pom</artifactId>
    <groupId>org.apache.servicemix.bundles</groupId>
    <version>2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.servicemix.bundles</groupId>
  <artifactId>org.apache.servicemix.bundles.woodstox</artifactId>
  <packaging>bundle</packaging>
  <name>Apache ServiceMix Bundles: ${pkgArtifactId}-${pkgVersion}</name>
  <version>3.2.7_1</version>
  <description>This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar.</description>
  <scm>
    <connection>scm:svn:http://svn.apache.org/repos/asf/servicemix/smx4/bundles/tags/org.apache.servicemix.bundles.woodstox-3.2.7_1</connection>
    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/servicemix/smx4/bundles/tags/org.apache.servicemix.bundles.woodstox-3.2.7_1</developerConnection>
    <url>http://svn.apache.org/viewvc/servicemix/smx4/bundles/tags/org.apache.servicemix.bundles.woodstox-3.2.7_1</url>
  </scm>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>${pkgGroupId}:wstx-asl</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>${pkgGroupId}:wstx-asl</artifact>
                  <excludes>
                    <exclude>**</exclude>
                  </excludes>
                </filter>
              </filters>
              <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
              <createDependencyReducedPom>true</createDependencyReducedPom>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.apache.servicemix.specs</groupId>
      <artifactId>org.apache.servicemix.specs.stax-api-1.0</artifactId>
      <version>1.0.0</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>
  </dependencies>
  <properties>
    <pkgVersion>3.2.7</pkgVersion>
    <pkgArtifactId>woodstox</pkgArtifactId>
    <servicemix.osgi.import.pkg>com.sun.msv*;resolution:=optional,
            org.relaxng*;resolution:=optional,
            *</servicemix.osgi.import.pkg>
    <servicemix.osgi.private.pkg>META-INF;-split-package:=merge-first,
            META-INF.maven.org.apache.servicemix.bundles*;-split-package:=merge-first,
            META-INF.services;-split-package:=merge-first,</servicemix.osgi.private.pkg>
    <pkgGroupId>org.codehaus.woodstox</pkgGroupId>
    <servicemix.osgi.export>com.ctc.wstx*;version=${pkgVersion};-split-package:=merge-first,
            org.codehaus.stax2*;version=${pkgVersion};-split-package:=merge-first,</servicemix.osgi.export>
  </properties>
</project>

