<?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">

    <modelVersion>4.0.0</modelVersion>
    <artifactId>org.gvsig.tools.lib</artifactId>
    <packaging>jar</packaging>
    <name>org.gvsig.tools.lib</name>
    <description>Tools related to application framework architecture
        and implementations of design patterns</description>
    <parent>
        <groupId>org.gvsig</groupId>
        <artifactId>org.gvsig.tools</artifactId>
        <version>3.1.2</version>
    </parent>
    <dependencies>
        <dependency>
            <groupId>org.glassfish</groupId>
            <artifactId>javax.json</artifactId>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>easymock</groupId>
            <artifactId>easymock</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>net.sf.kxml</groupId>
            <artifactId>kxml2</artifactId>
        </dependency>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
        </dependency>
        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-core</artifactId>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parsers-standard-package</artifactId>
            <scope>test</scope>
            <!--
               Con las siguientes dependencias hay algun tipo de colision con
               las depdencias de bouncycastle de estos y las del jar de jython.
            -->
            <exclusions>
                <exclusion>
                    <groupId>${tika.groupid}</groupId>
                    <artifactId>tika-parser-crypto-module</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>${tika.groupid}</groupId>
                    <artifactId>tika-parser-digest-commons</artifactId>                        
                </exclusion>
                <exclusion>
                    <groupId>${tika.groupid}</groupId>
                    <artifactId>tika-parser-microsoft-module</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>${tika.groupid}</groupId>
                    <artifactId>tika-parser-cad-module</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>${tika.groupid}</groupId>
                    <artifactId>tika-parser-pdf-module</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
         
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-apple-module</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-audiovideo-module</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-code-module</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-font-module</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-html-module</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-image-module</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-mail-module</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-news-module</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-ocr-module</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-pkg-module</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-text-module</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-webarchive-module</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-xml-module</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${tika.groupid}</groupId>
            <artifactId>tika-parser-xmp-commons</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                </configuration>
                <executions>
                    <!-- Generates a jar file only with the test classes -->
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>