Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
up
- Loading branch information
0 parents
commit 03ae631
Showing
44 changed files
with
2,532,908 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env bash | ||
mvn clean compile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
<?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> | ||
|
||
<groupId>de.mpii</groupId> | ||
<artifactId>headword</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<!-- to build WAR, change below to 'war' and remove maven-shade-plugin, | ||
as it does not work with WAR, basically because it copies shaded classes to ROOT, | ||
instead of WEB-INF/classes. So, relocation does not work for WAR // TODO --> | ||
|
||
<!-- to deploy as WAR file, uncomment <scope>provided</scope> in dependencies for jetty --> | ||
<packaging>jar</packaging> | ||
|
||
<properties> | ||
<maven.compiler.source>1.9</maven.compiler.source> | ||
<maven.compiler.target>1.9</maven.compiler.target> | ||
</properties> | ||
<build> | ||
<!-- <resources>--> | ||
<!-- <resource>--> | ||
<!-- <directory>./resources/</directory>--> | ||
<!-- </resource>--> | ||
<!-- </resources>--> | ||
<sourceDirectory>./src/</sourceDirectory> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-war-plugin</artifactId> | ||
<version>2.6</version> | ||
<configuration> | ||
<warSourceDirectory>./web/</warSourceDirectory> | ||
<!-- <failOnMissingWebXml>false</failOnMissingWebXml>--> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>exec-maven-plugin</artifactId> | ||
<version>1.6.0</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>java</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<includeProjectDependencies>true</includeProjectDependencies> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<version>3.2.1</version> | ||
<configuration> | ||
<!-- remove security signature --> | ||
<filters> | ||
<filter> | ||
<artifact>*:*</artifact> | ||
<excludes> | ||
<exclude>META-INF/*.SF</exclude> | ||
<exclude>META-INF/*.DSA</exclude> | ||
<exclude>META-INF/*.RSA</exclude> | ||
</excludes> | ||
</filter> | ||
</filters> | ||
<!-- relocate classes for solving conflicts --> | ||
<relocations> | ||
<relocation> | ||
<pattern>org.json</pattern> | ||
<shadedPattern>shaded.org.json</shadedPattern> | ||
<!-- <excludes>--> | ||
<!-- <exclude></exclude>--> | ||
<!-- </excludes>--> | ||
</relocation> | ||
</relocations> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>shade</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<repositories> | ||
<repository> | ||
<id>cogcomp</id> | ||
<name>Cogcomp repository</name> | ||
<url>http://cogcomp.org/m2repo/</url> | ||
</repository> | ||
<repository> | ||
<id>clojars</id> | ||
<name>Clojars repository</name> | ||
<url>http://clojars.org/repo/</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<!-- https://mvnrepository.com/artifact/clojusc/jwi --> | ||
<dependency> | ||
<groupId>clojusc</groupId> | ||
<artifactId>jwi</artifactId> | ||
<version>2.4.0</version> | ||
</dependency> | ||
<!-- Stanford CoreNLP--> | ||
<dependency> | ||
<groupId>edu.stanford.nlp</groupId> | ||
<artifactId>stanford-corenlp</artifactId> | ||
<version>3.9.2</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>edu.stanford.nlp</groupId> | ||
<artifactId>stanford-corenlp</artifactId> | ||
<version>3.9.2</version> | ||
<classifier>models</classifier> | ||
</dependency> | ||
<!-- Morpha stemmer--> | ||
<dependency> | ||
<groupId>edu.washington.cs.knowitall</groupId> | ||
<artifactId>morpha-stemmer</artifactId> | ||
<version>1.0.5</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
Oops, something went wrong.