119 lines
4.3 KiB
XML
119 lines
4.3 KiB
XML
<?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>studiorailgun</groupId>
|
|
<artifactId>Renderer</artifactId>
|
|
<version>0.1.1</version>
|
|
<packaging>jar</packaging>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
<dl4j-master.version>1.0.0-M2</dl4j-master.version>
|
|
<!-- Change the nd4j.backend property to nd4j-cuda-X-platform to use CUDA GPUs -->
|
|
<nd4j.backend>nd4j-native</nd4j.backend>
|
|
<corenlp.version>4.5.6</corenlp.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<!--DeepLearning4J-->
|
|
<dependency>
|
|
<groupId>org.deeplearning4j</groupId>
|
|
<artifactId>deeplearning4j-core</artifactId>
|
|
<version>${dl4j-master.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.deeplearning4j</groupId>
|
|
<artifactId>deeplearning4j-nlp</artifactId>
|
|
<version>${dl4j-master.version}</version>
|
|
</dependency>
|
|
|
|
<!--Tensorflow Java-->
|
|
<dependency>
|
|
<groupId>org.tensorflow</groupId>
|
|
<artifactId>tensorflow-core-api</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.tensorflow</groupId>
|
|
<artifactId>tensorflow-core-platform</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.tensorflow</groupId>
|
|
<artifactId>tensorflow-core-native</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
|
|
|
|
<!--Stanford CoreNLP-->
|
|
<!--License: GPL-->
|
|
<dependency>
|
|
<groupId>edu.stanford.nlp</groupId>
|
|
<artifactId>stanford-corenlp</artifactId>
|
|
<version>${corenlp.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>edu.stanford.nlp</groupId>
|
|
<artifactId>stanford-corenlp</artifactId>
|
|
<version>${corenlp.version}</version>
|
|
<classifier>models</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>edu.stanford.nlp</groupId>
|
|
<artifactId>stanford-corenlp</artifactId>
|
|
<version>${corenlp.version}</version>
|
|
<classifier>models-english</classifier>
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--GSON-->
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.8.6</version>
|
|
</dependency>
|
|
|
|
<!--JUnit-->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>5.10.3</version>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
<!-- MAIN BUILD -->
|
|
<build>
|
|
<plugins>
|
|
|
|
<!--Shade the jar (pack all dependencies)-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>org.studiorailgun.Main</mainClass>
|
|
</transformer>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer">
|
|
</transformer>
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |