Last active
August 26, 2020 12:38
-
-
Save willprice76/3cbc3b8e38d2d710f0f1ed3219de3a6e to your computer and use it in GitHub Desktop.
Basic Spring Boot Web / Spark NLP POM
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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-parent</artifactId> | |
<version>2.3.3.RELEASE</version> | |
<relativePath/> <!-- lookup parent from repository --> | |
</parent> | |
<groupId>org.example</groupId> | |
<artifactId>sparknlp-java-example</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name>sparknlp-java-example</name> | |
<description>Simple Java REST service using Spark NLP</description> | |
<properties> | |
<java.version>1.8</java.version> | |
<!-- dependency versions --> | |
<logback-classic.version>1.2.3</logback-classic.version> | |
<spark.version>2.4.4</spark.version> | |
<sparknlp.version>2.5.5</sparknlp.version> | |
<spring-boot.version>2.2.6.RELEASE</spring-boot.version> | |
</properties> | |
<dependencies> | |
<!-- Spring Boot --> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-web</artifactId> | |
<version>${spring-boot.version}</version> | |
</dependency> | |
<!-- Spark --> | |
<dependency> | |
<groupId>org.apache.spark</groupId> | |
<artifactId>spark-mllib_2.11</artifactId> | |
<version>${spark.version}</version> | |
<exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<!-- Spark NLP --> | |
<dependency> | |
<groupId>com.johnsnowlabs.nlp</groupId> | |
<artifactId>spark-nlp_2.11</artifactId> | |
<version>${sparknlp.version}</version> | |
</dependency> | |
<!-- Logging --> | |
<dependency> | |
<groupId>ch.qos.logback</groupId> | |
<artifactId>logback-classic</artifactId> | |
<version>${logback-classic.version}</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment