Spaces:
Build error
Build error
<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>VnCoreNLP</groupId> | |
<artifactId>VnCoreNLP</artifactId> | |
<version>1.2</version> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.3</version> | |
<configuration> | |
<source>1.8</source> | |
<target>1.8</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>3.1.0</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<shadedArtifactAttached>false</shadedArtifactAttached> | |
<transformers> | |
<!-- add Main-Class to manifest file --> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | |
<mainClass>vn.pipeline.VnCoreNLP</mainClass> | |
</transformer> | |
</transformers> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>com.optimaize.languagedetector</groupId> | |
<artifactId>language-detector</artifactId> | |
<version>0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>vncorenlp</groupId> | |
<artifactId>marmot</artifactId> | |
<version>1.0</version> | |
</dependency> | |
<dependency> | |
<groupId>edu.emory.mathcs.nlp</groupId> | |
<artifactId>nlp4j-api</artifactId> | |
<version>1.1.3</version> | |
</dependency> | |
<dependency> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
<version>1.2.17</version> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
<version>1.7.5</version> | |
</dependency> | |
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api --> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
<version>1.7.25</version> | |
</dependency> | |
<!--mvn install:install-file -Dfile=lib/marmot.jar -DgroupId=vncorenlp -DartifactId=marmot -Dversion=1.0 -Dpackaging=jar--> | |
</dependencies> | |
<repositories> | |
<repository> | |
<id>vncorenlp</id> | |
<name>vncorenlp thirdparty repo</name> | |
<url>https://github.com/vncorenlp/thirdparty/raw/repository/</url> | |
<snapshots> | |
<enabled>true</enabled> | |
<updatePolicy>always</updatePolicy> | |
</snapshots> | |
</repository> | |
</repositories> | |
</project> | |