Created
December 17, 2023 00:07
-
-
Save MPdaedalus/f805005ca18ad2f9f975cc9b8ef59e19 to your computer and use it in GitHub Desktop.
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"?> | |
<!-- | |
~ | |
~ 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. | |
~ | |
~ 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> | |
<groupId>NNET</groupId> | |
<artifactId>NNET</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<properties> | |
<dl4j-master.version>1.0.0-M2.1</dl4j-master.version> | |
<!-- Change the nd4j.backend property to nd4j-cuda-X-platform to use CUDA GPUs --> | |
<!-- <nd4j.backend>nd4j-cuda-10.2-platform</nd4j.backend> --> | |
<nd4j.backend>nd4j-cuda-11.6-platform</nd4j.backend> | |
<java.version>21</java.version> | |
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> | |
<maven.minimum.version>3.3.1</maven.minimum.version> | |
<exec-maven-plugin.version>1.4.0</exec-maven-plugin.version> | |
<maven-shade-plugin.version>2.4.3</maven-shade-plugin.version> | |
<jcommon.version>1.0.23</jcommon.version> | |
<jfreechart.version>1.0.13</jfreechart.version> | |
<logback.version>1.1.7</logback.version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<junit.version>5.8.0-M1</junit.version> | |
<javacv.version>1.5.5</javacv.version> | |
</properties> | |
<repositories> | |
<repository> | |
<id>sonatype-nexus-snapshots</id> | |
<name>Sonatype Nexus Snapshots</name> | |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
<updatePolicy>daily</updatePolicy> <!-- Optional, update daily --> | |
</snapshots> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> | |
<groupId>org.eclipse.collections</groupId> | |
<artifactId>eclipse-collections</artifactId> | |
<version>11.1.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
<version>2.0.9</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-collections4</artifactId> | |
<version>4.4</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-lang3</artifactId> | |
<version>3.14.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-math3</artifactId> | |
<version>3.6.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.nd4j</groupId> | |
<artifactId>${nd4j.backend}</artifactId> | |
<version>${dl4j-master.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.bytedeco</groupId> | |
<artifactId>cuda-platform-redist</artifactId> | |
<version>11.6-8.3-1.5.7</version> | |
</dependency> | |
<dependency> | |
<groupId>org.datavec</groupId> | |
<artifactId>datavec-api</artifactId> | |
<version>${dl4j-master.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.datavec</groupId> | |
<artifactId>datavec-data-image</artifactId> | |
<version>${dl4j-master.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.datavec</groupId> | |
<artifactId>datavec-local</artifactId> | |
<version>${dl4j-master.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-core</artifactId> | |
<version>${dl4j-master.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>resources</artifactId> | |
<version>${dl4j-master.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-ui</artifactId> | |
<version>${dl4j-master.version}</version> | |
</dependency> | |
<!-- ParallelWrapper & ParallelInference live here --> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-parallel-wrapper</artifactId> | |
<version>${dl4j-master.version}</version> | |
</dependency> | |
</dependencies> | |
<!-- Maven Enforcer: Ensures user has an up to date version of Maven before building --> | |
<build> | |
<sourceDirectory>src/</sourceDirectory> | |
<plugins> | |
<plugin> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>3.0.0-M5</version> | |
<inherited>true</inherited> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.maven.surefire</groupId> | |
<artifactId>surefire-junit-platform</artifactId> | |
<version>3.0.0-M5</version> | |
</dependency> | |
</dependencies> | |
</plugin> | |
<plugin> | |
<artifactId>maven-enforcer-plugin</artifactId> | |
<version>1.0.1</version> | |
<executions> | |
<execution> | |
<id>enforce-default</id> | |
<goals> | |
<goal>enforce</goal> | |
</goals> | |
<configuration> | |
<rules> | |
<requireMavenVersion> | |
<version>[${maven.minimum.version},)</version> | |
<message>********** Minimum Maven Version is ${maven.minimum.version}. Please upgrade Maven before continuing (run "mvn --version" to check). **********</message> | |
</requireMavenVersion> | |
</rules> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>${maven-compiler-plugin.version}</version> | |
<configuration> | |
<source>${java.version}</source> | |
<target>${java.version}</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>${exec-maven-plugin.version}</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>exec</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<executable>java</executable> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jar-plugin</artifactId> | |
<version>3.3.0</version> | |
<configuration> | |
<archive> | |
<manifest> | |
<addClasspath>true</addClasspath> | |
<mainClass>core.boot</mainClass> | |
</manifest> | |
</archive> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>${maven-shade-plugin.version}</version> | |
<configuration> | |
<shadedArtifactAttached>true</shadedArtifactAttached> | |
<shadedClassifierName>${shadedClassifier}</shadedClassifierName> | |
<createDependencyReducedPom>true</createDependencyReducedPom> | |
<filters> | |
<filter> | |
<artifact>*:*</artifact> | |
<excludes> | |
<exclude>org/datanucleus/**</exclude> | |
<exclude>META-INF/*.SF</exclude> | |
<exclude>META-INF/*.DSA</exclude> | |
<exclude>META-INF/*.RSA</exclude> | |
</excludes> | |
</filter> | |
</filters> | |
</configuration> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<transformers> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> | |
<resource>reference.conf</resource> | |
</transformer> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | |
<mainClass>core.boot</mainClass> | |
</transformer> | |
</transformers> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>org.eclipse.m2e</groupId> | |
<artifactId>lifecycle-mapping</artifactId> | |
<version>1.0.0</version> | |
<configuration> | |
<lifecycleMappingMetadata> | |
<pluginExecutions> | |
<pluginExecution> | |
<pluginExecutionFilter> | |
<groupId>com.lewisd</groupId> | |
<artifactId>lint-maven-plugin</artifactId> | |
<versionRange>[0.0.11,)</versionRange> | |
<goals> | |
<goal>check</goal> | |
</goals> | |
</pluginExecutionFilter> | |
<action> | |
<ignore/> | |
</action> | |
</pluginExecution> | |
</pluginExecutions> | |
</lifecycleMappingMetadata> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment