<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>com.micronlp</groupId>
<artifactId>drug_extraction</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
<name>drug-extraction</name>
<url>http://example.org</url>
<properties>
<project.source.charset>UTF-8</project.source.charset>
<project.source.encoding>UTF-8</project.source.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<gate.version>7.1</gate.version>
<gate.asm.version>3.1</gate.asm.version>
<gate.compiler.version>3.7.1</gate.compiler.version>
</properties>
<build>
<finalName>drug-extraction</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.24</version>
<configuration>
<contextPath>/micronlp-experiments</contextPath>
</configuration>
</plugin>
<!--Mallet logging is horrifically verbose, and has not easy to configure -->
<!--We have to use this complicated process to copy the logging.properties
file to the right location -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>copy-resources</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>
${basedir}/target/classes/cc/mallet/util/resources
</outputDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<goals>
<goal>attached</goal>
</goals>
<phase>package</phase>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<descriptors>
<descriptor>src/main/assembly/project.xml</descriptor>
</descriptors>
<archive>
<!-- <manifest> <mainClass>com.micronlp.drug_extraction.DrugTagger</mainClass>
</manifest> -->
</archive>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>mvnrepository.com</id>
<name>mvnrepository.com</name>
<url>http://mvnrepository.com</url>
</repository>
<repository>
<id>repo2.maven.org</id>
<name>repo2.maven.org</name>
<url>http://repo2.maven.org/maven2</url>
</repository>
<repository>
<id>download.java.net</id>
<name>download.java.net</name>
<url>http://download.java.net/maven/2</url>
</repository>
</repositories>
<dependencies>
<!-- Logging -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
</dependency>
<!-- GATE -->
<dependency>
<groupId>uk.ac.gate</groupId>
<artifactId>gate-core</artifactId>
<version>${gate.version}</version>
</dependency>
<dependency>
<groupId>uk.ac.gate</groupId>
<artifactId>gate-asm</artifactId>
<version>${gate.asm.version}</version>
</dependency>
<dependency>
<groupId>uk.ac.gate</groupId>
<artifactId>gate-compiler-jdt</artifactId>
<version>${gate.compiler.version}</version>
</dependency>
<!-- Mallet -->
<dependency>
<groupId>cc.mallet</groupId>
<artifactId>mallet</artifactId>
<version>2.0.7</version>
</dependency>
<!-- Lucene -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12 </artifactId>
<version>1.5.6</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>3.0.3</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers</artifactId>
<version>3.0.3</version>
</dependency>
<!-- OpenCSV -->
<dependency>
<groupId>net.sf.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>2.3</version>
</dependency>
</dependencies>
</project>