<?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">
    <parent>
        <groupId>com.rackspace.papi.service</groupId>
        <artifactId>httpclient-support</artifactId>
        <version>2.12.2</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.rackspace.papi.service</groupId>
    <artifactId>httpclient-connection-pool</artifactId>
    <version>2.12.2</version>

    <name>Repose Services - HttpClient Connection Pool Impl</name>

    <packaging>jar</packaging>
    <dependencies>

        <dependency>
            <groupId>xerces</groupId>
            <artifactId>xerces-xsd11</artifactId>
            <version>2.12.0-rax</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>com.rackspace.papi.service</groupId>
            <artifactId>httpclient-api</artifactId>
            <version>2.12.2</version>
        </dependency>
    </dependencies>


    <build>
        <plugins>

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>xml-maven-plugin</artifactId>

                <configuration>
                    <transformationSets>
                        <transformationSet>
                            <dir>src/main/resources/META-INF/schema/config</dir>
                            <stylesheet>../../../components/xsl/remove-1.1-elements.xsl</stylesheet>
                            <outputDir>${project.build.directory}/generated-resources/xml/xslt/config</outputDir>
                        </transformationSet>
                    </transformationSets>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.jvnet.jaxb2.maven2</groupId>
                <artifactId>maven-jaxb2-plugin</artifactId>

                <configuration>

                    <schemaDirectory>${project.build.directory}/generated-resources/xml/xslt</schemaDirectory>
                    <specVersion>2.2</specVersion>
                    <schemaIncludes>
                        <include>**/*.xsd</include>
                    </schemaIncludes>
                    <bindingIncludes>
                        <include>**/*.xjb</include>
                    </bindingIncludes>

                    <strict>true</strict>
                    <verbose>false</verbose>

                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
