Created
February 6, 2020 17:07
-
-
Save willprice76/2a7906031ee7cfde9e38b02fd5746c19 to your computer and use it in GitHub Desktop.
Minimal pom.xml for Loading Spark NLP Pipeline in Java
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
<?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>test-spark-nlp</groupId> | |
<artifactId>test</artifactId> | |
<version>1.0.0</version> | |
<packaging>jar</packaging> | |
<properties> | |
<java.version>1.8</java.version> | |
</properties> | |
<dependencies> | |
<!-- Spark & Spark NLP --> | |
<dependency> | |
<groupId>org.apache.spark</groupId> | |
<artifactId>spark-mllib_2.11</artifactId> | |
<version>2.4.4</version> | |
</dependency> | |
<dependency> | |
<groupId>com.johnsnowlabs.nlp</groupId> | |
<artifactId>spark-nlp_2.11</artifactId> | |
<version>2.3.6</version> | |
</dependency> | |
<!-- for the test class --> | |
<dependency> | |
<groupId>org.junit.jupiter</groupId> | |
<artifactId>junit-jupiter</artifactId> | |
<version>5.5.2</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.8.1</version> | |
<configuration> | |
<source>${java.version}</source> | |
<target>${java.version}</target> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment