2021-02-01 06:31:20 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
~ /* ******************************************************************************
|
|
|
|
~ *
|
|
|
|
~ *
|
|
|
|
~ * This program and the accompanying materials are made available under the
|
|
|
|
~ * terms of the Apache License, Version 2.0 which is available at
|
|
|
|
~ * https://www.apache.org/licenses/LICENSE-2.0.
|
|
|
|
~ *
|
2021-02-01 09:47:29 +01:00
|
|
|
~ * See the NOTICE file distributed with this work for additional
|
|
|
|
~ * information regarding copyright ownership.
|
2021-02-01 06:31:20 +01:00
|
|
|
~ * Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
~ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
~ * License for the specific language governing permissions and limitations
|
|
|
|
~ * under the License.
|
|
|
|
~ *
|
|
|
|
~ * SPDX-License-Identifier: Apache-2.0
|
|
|
|
~ ******************************************************************************/
|
|
|
|
-->
|
|
|
|
|
|
|
|
<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>
|
2019-06-06 14:21:15 +02:00
|
|
|
|
|
|
|
<parent>
|
2022-09-20 15:40:53 +02:00
|
|
|
<groupId>net.brutex.ai</groupId>
|
2021-02-01 06:31:20 +01:00
|
|
|
<artifactId>deeplearning4j-scaleout</artifactId>
|
2019-06-06 14:21:15 +02:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
2021-02-01 06:31:20 +01:00
|
|
|
|
2022-09-20 15:40:53 +02:00
|
|
|
<artifactId>spark_2.12</artifactId>
|
2019-06-06 14:21:15 +02:00
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<name>Spark parent</name>
|
2021-02-01 06:31:20 +01:00
|
|
|
|
2019-06-06 14:21:15 +02:00
|
|
|
<modules>
|
|
|
|
<module>dl4j-spark</module>
|
|
|
|
<module>dl4j-spark-nlp</module>
|
|
|
|
<module>dl4j-spark-parameterserver</module>
|
|
|
|
<module>dl4j-spark-nlp-java8</module>
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<scala.macros.version>2.1.0</scala.macros.version>
|
|
|
|
</properties>
|
|
|
|
|
2021-02-01 06:31:20 +01:00
|
|
|
<dependencies>
|
|
|
|
<!-- ND4J Shaded Jackson Dependency -->
|
|
|
|
<dependency>
|
2022-09-20 15:40:53 +02:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
2021-02-01 06:31:20 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
2022-09-20 15:40:53 +02:00
|
|
|
<artifactId>spark-mllib_2.12</artifactId>
|
2021-02-01 06:31:20 +01:00
|
|
|
<version>${spark.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
|
<artifactId>scala-library</artifactId>
|
2022-09-20 15:40:53 +02:00
|
|
|
<version>2.12.14</version>
|
2021-02-01 06:31:20 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
|
<artifactId>scala-reflect</artifactId>
|
2022-09-20 15:40:53 +02:00
|
|
|
<version>2.12.14</version>
|
2021-02-01 06:31:20 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.typesafe</groupId>
|
|
|
|
<artifactId>config</artifactId>
|
|
|
|
<version>${typesafe.config.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
2022-09-20 15:40:53 +02:00
|
|
|
<artifactId>spark-core_2.12</artifactId>
|
2021-02-01 06:31:20 +01:00
|
|
|
<version>${spark.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2019-06-06 14:21:15 +02:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- added source folder containing the code specific to the spark version -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-source</id>
|
|
|
|
<phase>generate-sources</phase>
|
2021-02-01 06:31:20 +01:00
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
2019-06-06 14:21:15 +02:00
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>src/main/spark-${spark.major.version}</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- Scala Compiler -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>net.alchim31.maven</groupId>
|
|
|
|
<artifactId>scala-maven-plugin</artifactId>
|
|
|
|
<version>${maven-scala-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<!-- Run scala compiler in the process-resources phase, so that dependencies on
|
|
|
|
scala classes can be resolved later in the (Java) compile phase -->
|
|
|
|
<execution>
|
|
|
|
<id>scala-compile-first</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
<goal>doc-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<!-- Run scala compiler in the process-test-resources phase, so that dependencies on
|
|
|
|
scala classes can be resolved later in the (Java) test-compile phase -->
|
|
|
|
<execution>
|
|
|
|
<id>scala-test-compile</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2022-09-20 15:40:53 +02:00
|
|
|
<scalaVersion>2.12.14</scalaVersion>
|
2019-06-06 14:21:15 +02:00
|
|
|
<args>
|
|
|
|
<arg>-deprecation</arg>
|
|
|
|
<arg>-explaintypes</arg>
|
|
|
|
<arg>-nobootcp</arg>
|
|
|
|
</args>
|
|
|
|
<jvmArgs>
|
|
|
|
<jvmArg>-Xms128m</jvmArg>
|
|
|
|
<jvmArg>-Xmx512m</jvmArg>
|
|
|
|
</jvmArgs>
|
|
|
|
<compilerPlugins combine.children="append">
|
|
|
|
<compilerPlugin>
|
|
|
|
<groupId>org.scalamacros</groupId>
|
2022-09-20 15:40:53 +02:00
|
|
|
<artifactId>paradise_2.12</artifactId>
|
2019-06-06 14:21:15 +02:00
|
|
|
<version>${scala.macros.version}</version>
|
|
|
|
</compilerPlugin>
|
|
|
|
</compilerPlugins>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|