<?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">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.mule.distributions</groupId>
        <artifactId>osgi-libs</artifactId>
        <version>2.1.2</version>
    </parent>

    <groupId>commons-jxpath</groupId>
    <artifactId>commons-jxpath.osgi</artifactId>
    <version>${commonsJxpathVersion}</version>
    <packaging>bundle</packaging>
    <name>commons-jxpath repackaged for OSGi</name>

    <dependencies>
        <dependency>
            <groupId>commons-jxpath</groupId>
            <artifactId>commons-jxpath</artifactId>
            <version>${version}</version>
            <optional>true</optional>
                <exclusions>
                    <!-- we want newer collections via core -->
                    <exclusion>
                        <groupId>commons-collections</groupId>
                        <artifactId>commons-collections</artifactId>
                    </exclusion>
                    <!-- we want newer beanutils via core -->
                    <exclusion>
                        <groupId>commons-beanutils</groupId>
                        <artifactId>commons-beanutils</artifactId>
                    </exclusion>
                    <!-- we like slf4j -->
                    <exclusion>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                    </exclusion>
                    <!-- no XML -->
                    <exclusion>
                        <groupId>xml-apis</groupId>
                        <artifactId>xml-apis</artifactId>
                    </exclusion>
                    <!-- totally outdated and wrong too -->
                    <exclusion>
                        <groupId>xerces</groupId>
                        <artifactId>xerces</artifactId>
                    </exclusion>
                    <exclusion>
                        <!-- not required; likely a m1 POM conversion bug -->
                        <groupId>ant</groupId>
                        <artifactId>ant-optional</artifactId>
                    </exclusion>
                    <exclusion>
                        <!-- exclude older jdom-b9 -->
                        <groupId>jdom</groupId>
                        <artifactId>jdom</artifactId>
                    </exclusion>
                    <exclusion>
                        <!-- exclude older Servlet 2.2 spec jar -->
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                    </exclusion>
                    <!-- not required either -->
                    <exclusion>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                    </exclusion>
                </exclusions>
        </dependency>
    </dependencies>

</project>
