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

  <parent>
    <artifactId>cleartk</artifactId>
    <groupId>org.cleartk</groupId>
    <version>3.0.0</version>
    <relativePath>..</relativePath>
  </parent>

  <artifactId>cleartk-ml-mallet</artifactId>

  <name>ClearTK ML Mallet (${mallet-version})</name>
  <description>ClearTK wrapper for MALLET</description>

  <properties>
    <mallet-version>2.0.8</mallet-version>
  </properties>

  <dependencies>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.uima</groupId>
      <artifactId>uimaj-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.uima</groupId>
      <artifactId>uimafit-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.cleartk</groupId>
      <artifactId>cleartk-ml</artifactId>
     <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.cleartk</groupId>
      <artifactId>cleartk-util</artifactId>
     <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>cc.mallet</groupId>
      <artifactId>mallet</artifactId>
      <version>${mallet-version}</version>
      <exclusions>
        <exclusion>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
        </exclusion>
        <exclusion>
          <groupId>jgrapht</groupId>
          <artifactId>jgrapht</artifactId>
        </exclusion>
        <exclusion>
          <groupId>net.sf.jwordnet</groupId>
          <artifactId>jwnl</artifactId>
        </exclusion>
        <exclusion>
          <groupId>com.googlecode.matrix-toolkits-java</groupId>
          <artifactId>mtj</artifactId>
        </exclusion>
        <!-- exclude jdom 1.x since it conflicts in Maven with the current 2.x -->
        <exclusion>
          <groupId>org.jdom</groupId>
          <artifactId>jdom</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <!-- include jdom 1.x again, but under the "jdom-legacy" name -->
    <dependency>
      <groupId>org.jdom</groupId>
      <artifactId>jdom-legacy</artifactId>
      <scope>runtime</scope>
    </dependency>

    <!-- test only -->
    <dependency>
      <groupId>org.cleartk</groupId>
      <artifactId>cleartk-test-util</artifactId>
     <version>${project.version}</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>
