<?xml version="1.0"?>
<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>
    <groupId>uk.ac.gate</groupId>
    <artifactId>gate-core</artifactId>
    <name>GATE Embedded Core</name>
    <version>6.1</version>
    <!-- a POM for publishing GATE 6.1 to Central via OSS -->
    <description>
        GATE - general achitecture for text engineering - is open source
        software capable of solving almost any text processing problem.  This
        artifact enables you to embed the core GATE Embedded with its essential
        dependencies.  You will able to use the GATE Embedded API and load and
        store GATE XML documents. This artifact is the perfect dependency for
        CREOLE plugins or for applications that need to customize the GATE
        dependencies due to confict with their own dependencies or for lower
        footprint.
    </description>
    <url>http://gate.ac.uk/</url>
    <packaging>jar</packaging>
    <dependencies>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>1.4</version>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.16</version>
        </dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.5</version>
        </dependency>
        <dependency>
            <groupId>jdom</groupId>
            <artifactId>jdom</artifactId>
            <version>1.0</version>
        </dependency>
        <dependency>
            <groupId>uk.ac.gate</groupId>
            <artifactId>gate-asm</artifactId>
            <version>3.1</version>
        </dependency>
        <!-- Document importing dependencies -->
        <dependency>
            <groupId>net.sourceforge.nekohtml</groupId>
            <artifactId>nekohtml</artifactId>
            <version>1.9.14</version>
        </dependency>
        <dependency>
            <groupId>xerces</groupId>
            <artifactId>xercesImpl</artifactId>
            <version>2.9.1</version>
            <!-- We don't need the xml-apis transitive dep as it's part of
            Java core -->
            <exclusions>
                <exclusion>
                    <groupId>xml-apis</groupId>
                    <artifactId>xml-apis</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.tika</groupId>
            <artifactId>tika-parsers</artifactId>
            <version>0.7</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.woodstox</groupId>
            <artifactId>wstx-lgpl</artifactId>
            <version>3.2.3</version>
            <!-- Exclude the stax-api transitive dependency as GATE 6.1 and
            later requires Java 6, which includes this API in core -->
            <exclusions>
                <exclusion>
                    <groupId>stax</groupId>
                    <artifactId>stax-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- Optional dependencies -->
        <!-- You need to expicitly add the below dependencies in your project, if you
         intend to use parts of GATE that rely on them. -->

        <!-- XStream (required for loading and saving .gapp files) -->
        <dependency>
            <groupId>com.thoughtworks.xstream</groupId>
            <artifactId>xstream</artifactId>
            <version>1.3.1</version>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>xpp3</groupId>
            <artifactId>xpp3_min</artifactId>
            <version>1.1.3.4.O</version>
            <optional>true</optional>
        </dependency>

        <!-- repackaging of the Eclipse JDT compiler under an alternative
             package name; that way gate can be embedded in software
             that depends on another version of that compiler.
             Required in order to be able to load JAPE grammars. -->
        <dependency>
            <groupId>uk.ac.gate</groupId>
            <artifactId>gate-compiler-jdt</artifactId>
            <version>1</version>
            <optional>true</optional>
        </dependency>

        <!-- Getopt command-line argument processor.  Required by gate.Main, so
             you need this if you intend to show the GATE Developer GUI in your
             application -->
        <dependency>
            <groupId>urbanophile</groupId>
            <artifactId>java-getopt</artifactId>
            <version>1.0.9</version>
            <optional>true</optional>
        </dependency>

        <!-- Apache Ant.  Required by the GATE Ant tasks and also by the
             developer GUI as Ant classes are referenced by NameBearerHandle to
             implement the "export for GATECloud.net" function. -->
        <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant</artifactId>
            <version>${ant.version}</version>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant-launcher</artifactId>
            <version>${ant.version}</version>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant-junit</artifactId>
            <version>${ant.version}</version>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant-nodeps</artifactId>
            <version>${ant.version}</version>
            <optional>true</optional>
        </dependency>

        <!-- Required for Spring Framework support in GATE -->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
            <version>${spring.version}</version>
            <optional>true</optional>
        </dependency>
        <!-- Required when using the <gate:pooled-proxy> decorator in Spring -->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aop</artifactId>
            <version>${spring.version}</version>
            <optional>true</optional>
        </dependency>

        <!-- Apache Lucene.  Required by the ANNIC searchable DataStore. -->
        <dependency>
            <groupId>org.apache.lucene</groupId>
            <artifactId>lucene-core</artifactId>
            <version>3.0.1</version>
            <optional>true</optional>
        </dependency>

        <!-- XMLUnit.  Used only by the test suite. -->
        <dependency>
            <groupId>xmlunit</groupId>
            <artifactId>xmlunit</artifactId>
            <version>1.2</version>
            <optional>true</optional>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <properties>
        <ant.version>1.8.1</ant.version>
        <spring.version>2.0.8</spring.version>
    </properties>
    <developers>
        <developer>
            <id>gate-team</id>
            <name>GATE Team</name>
            <email>gate-developers@lists.sourceforge.net</email>
        </developer>
    </developers>
    <licenses>
        <license>
            <name>LGPLv3</name>
            <url>http://www.gnu.org/licenses/lgpl-3.0.html</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <mailingLists>
        <mailingList>
            <name>GATE Users</name>
            <post>gate-users@lists.sourceforge.net</post>
            <archive>http://news.gmane.org/gmane.comp.ai.gate.general</archive>
        </mailingList>
    </mailingLists>
    <scm>
        <connection>
            scm:svn:https://gate.svn.sourceforge.net/svnroot/gate/gate/tags/release-6.1</connection>
        <developerConnection>
            scm:svn:https://gate.svn.sourceforge.net/svnroot/gate/gate/tags/release-6.1</developerConnection>
        <url>http://gate.svn.sourceforge.net/viewvc/gate</url>
    </scm>
    <profiles>
        <profile>
            <id>tools.jar</id>
            <activation>
                <property>
                    <name>java.vendor</name>
                    <value>Sun Microsystems Inc.</value>
                </property>
            </activation>
            <dependencies>
                <!-- The local tools.jar from your JDK.  This allows you to use
                     the Sun compiler (rather than gate-compiler-jdt above) to
                     load JAPE grammars, but enabling this function requires a
                     setting in your gate.xml configuration file. -->
                <dependency>
                    <groupId>com.sun</groupId>
                    <artifactId>tools</artifactId>
                    <version>1.6.0</version>
                    <scope>system</scope>
                    <systemPath>${java.home}/../lib/tools.jar</systemPath>
                    <optional>true</optional>
                </dependency>
            </dependencies>
        </profile>
    </profiles>
</project>
