242 lines
9.3 KiB
XML
242 lines
9.3 KiB
XML
<?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.
|
|
~ *
|
|
~ * See the NOTICE file distributed with this work for additional
|
|
~ * information regarding copyright ownership.
|
|
~ * 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>
|
|
|
|
<parent>
|
|
<groupId>net.brutex.ai</groupId>
|
|
<artifactId>deeplearning4j</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<groupId>net.brutex.ai</groupId>
|
|
<artifactId>nd4j</artifactId>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>nd4j</name>
|
|
|
|
|
|
<modules>
|
|
<module>nd4j-serde</module>
|
|
<module>nd4j-common</module>
|
|
<module>nd4j-backends</module>
|
|
<module>nd4j-parameter-server-parent</module>
|
|
<module>nd4j-remote</module>
|
|
<module>nd4j-tensorflow</module>
|
|
<module>nd4j-onnxruntime</module>
|
|
<module>nd4j-tvm</module>
|
|
<module>samediff-import</module>
|
|
<module>nd4j-common-tests</module>
|
|
<module>nd4j-jdbc</module>
|
|
</modules>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.brutex.ai</groupId>
|
|
<artifactId>nd4j-native-api</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.brutex.ai</groupId>
|
|
<artifactId>nd4j-api</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- Configuration for git-commit-id plugin - used with ND4J version check functionality -->
|
|
<!--
|
|
<plugin>
|
|
<groupId>pl.project13.maven</groupId>
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
</plugin>
|
|
-->
|
|
<!-- Add generated git.properties files resource directory, for output of git-commit-id plugin -->
|
|
<!--
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
</plugin>
|
|
-->
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>${maven-jar-plugin.version}</version>
|
|
<configuration>
|
|
<includes>
|
|
<include>**/*.so</include>
|
|
<include>**/*.so.*</include>
|
|
<include>META-INF/*</include>
|
|
<include>META-INF/services/**</include>
|
|
<include>org.*</include>
|
|
<include>**/*.properties</include>
|
|
<include>**/*.json</include>
|
|
<include>**/*.proto</include>
|
|
<include>**/*.class</include>
|
|
<include>**/*.dll</include>
|
|
<include>**/*.dylib</include>
|
|
<include>lib/*</include>
|
|
</includes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.lewisd</groupId>
|
|
<artifactId>lint-maven-plugin</artifactId>
|
|
<version>${maven-lint-plugin.version}</version>
|
|
<configuration>
|
|
<failOnViolation>true</failOnViolation>
|
|
<onlyRunRules>
|
|
<rule>DuplicateDep</rule>
|
|
<rule>RedundantDepVersion</rule>
|
|
<rule>RedundantPluginVersion</rule>
|
|
<!-- Rules incompatible with Java 9
|
|
<rule>VersionProp</rule>
|
|
<rule>DotVersionProperty</rule> -->
|
|
</onlyRunRules>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>pom-lint</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.revelc.code.formatter</groupId>
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
|
<version>2.12.1</version>
|
|
|
|
<configuration>
|
|
<directories>
|
|
<directory>nd4j-jdbc</directory>
|
|
<directory>nd4j-serde</directory>
|
|
<directory>nd4j-common</directory>
|
|
<directory>nd4j-buffer</directory>
|
|
<directory>nd4j-context</directory>
|
|
<directory>nd4j-parameter-server-parent</directory>
|
|
<directory>nd4j-uberjar</directory>
|
|
<directory>nd4j-backends/nd4j-api-parent</directory>
|
|
<directory>nd4j-backends/nd4j-tests</directory>
|
|
</directories>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>test</phase>
|
|
<id>enforce-test-resources</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<skip>${skipTestResourceEnforcement}</skip>
|
|
<rules>
|
|
<requireActiveProfile>
|
|
<profiles>testresources</profiles>
|
|
<all>false</all>
|
|
</requireActiveProfile>
|
|
</rules>
|
|
<fail>false</fail>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-toolchains-plugin</artifactId>
|
|
<version>1.1</version>
|
|
<configuration>
|
|
<toolchains>
|
|
<jdk>
|
|
<version>1.9</version>
|
|
<vendor>oracle</vendor>
|
|
</jdk>
|
|
</toolchains>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>toolchain</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>javacpp</artifactId>
|
|
<version>${javacpp.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>nd4j-testresources</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>net.brutex.ai</groupId>
|
|
<artifactId>dl4j-test-resources</artifactId>
|
|
<version>${dl4j-test-resources.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|