Created
February 28, 2017 01:25
-
-
Save mindcrime/c11d8d3bd44b9db59857deb122027663 to your computer and use it in GitHub Desktop.
pom file
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
<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>org.fogbeam.dl4j</groupId> | |
<artifactId>dl4j-spark</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name>dl4j-spark</name> | |
<description>dl4j-spark</description> | |
<properties> | |
<!-- Change the nd4j.backend property to nd4j-cuda-7.5-platform or nd4j-cuda-8.0-platform | |
to use CUDA GPUs --> | |
<maven.compiler.source>1.7</maven.compiler.source> | |
<maven.compiler.target>1.7</maven.compiler.target> | |
<nd4j.backend>nd4j-native-platform</nd4j.backend> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<shadedClassifier>bin</shadedClassifier> | |
<java.version>1.8</java.version> | |
<nd4j.version>0.7.2</nd4j.version> | |
<dl4j.version>0.7.2</dl4j.version> | |
<datavec.version>0.7.2</datavec.version> | |
<arbiter.version>0.7.2</arbiter.version> | |
<rl4j.version>0.7.2</rl4j.version> | |
<guava.version>19.0</guava.version> | |
<logback.version>1.1.7</logback.version> | |
<jfreechart.version>1.0.13</jfreechart.version> | |
<jcommon.version>1.0.23</jcommon.version> | |
<maven-shade-plugin.version>2.4.3</maven-shade-plugin.version> | |
<exec-maven-plugin.version>1.4.0</exec-maven-plugin.version> | |
<maven.minimum.version>3.3.1</maven.minimum.version> | |
<spark.binary.version>2.11</spark.binary.version> | |
</properties> | |
<repositories> | |
<repository> | |
<id>snapshots-repo</id> | |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
<distributionManagement> | |
<snapshotRepository> | |
<id>sonatype-nexus-snapshots</id> | |
<name>Sonatype Nexus snapshot repository</name> | |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
</snapshotRepository> | |
<repository> | |
<id>nexus-releases</id> | |
<name>Nexus Release Repository</name> | |
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | |
</repository> | |
</distributionManagement> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.nd4j</groupId> | |
<artifactId>nd4j-native-platform</artifactId> | |
<version>${nd4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.nd4j</groupId> | |
<artifactId>nd4j-cuda-7.5-platform</artifactId> | |
<version>${nd4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.nd4j</groupId> | |
<artifactId>nd4j-cuda-8.0-platform</artifactId> | |
<version>${nd4j.version}</version> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<dependencies> | |
<!-- https://mvnrepository.com/artifact/org.datavec/datavec-spark_2.11 --> | |
<dependency> | |
<groupId>org.datavec</groupId> | |
<artifactId>datavec-spark_2.11</artifactId> | |
<version>${dl4j.version}</version> | |
</dependency> | |
<!-- ND4J backend. You need one in every DL4J project. Normally define | |
artifactId as either "nd4j-native-platform" or "nd4j-c\ uda-7.5-platform" --> | |
<dependency> | |
<groupId>org.nd4j</groupId> | |
<artifactId>${nd4j.backend}</artifactId> | |
</dependency> | |
<!-- Core DL4J functionality --> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-core</artifactId> | |
<version>${dl4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-nlp</artifactId> | |
<version>${dl4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>dl4j-spark_${spark.binary.version}</artifactId> | |
<version>${dl4j.version}</version> | |
</dependency> | |
<!-- deeplearning4j-ui is used for HistogramIterationListener + visualization: | |
see http://deeplearning4j.org/visualization --> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-ui_2.10</artifactId> | |
<version>${dl4j.version}</version> | |
</dependency> | |
<!-- Force guava versions for using UI/HistogramIterationListener --> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>${guava.version}</version> | |
</dependency> | |
<!-- datavec-data-codec: used only in video example for loading video data --> | |
<dependency> | |
<artifactId>datavec-data-codec</artifactId> | |
<groupId>org.datavec</groupId> | |
<version>${datavec.version}</version> | |
</dependency> | |
<!-- Used in the feedforward/classification/MLP* and feedforward/regression/RegressionMathFunctions | |
example --> | |
<dependency> | |
<groupId>jfree</groupId> | |
<artifactId>jfreechart</artifactId> | |
<version>${jfreechart.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.jfree</groupId> | |
<artifactId>jcommon</artifactId> | |
<version>${jcommon.version}</version> | |
</dependency> | |
<!-- Used for downloading data in some of the examples --> | |
<dependency> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpclient</artifactId> | |
<version>4.3.5</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>3.0.0</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<minimizeJar>true</minimizeJar> | |
<createDependencyReducedPom>true</createDependencyReducedPom> | |
<dependencyReducedPomLocation> | |
${java.io.tmpdir}/dependency-reduced-pom.xml | |
</dependencyReducedPomLocation> | |
<relocations> | |
<!-- | |
<relocation> | |
<pattern>org.apache.spark</pattern> | |
<shadedPattern>hidden.spark</shadedPattern> | |
</relocation> | |
--> | |
<relocation> | |
<pattern>com.google.common</pattern> | |
<shadedPattern>local.com.google.common</shadedPattern> | |
</relocation> | |
</relocations> | |
<filters> | |
<filter> | |
<artifact>*:*</artifact> | |
<excludes> | |
<exclude>META-INF/*.SF</exclude> | |
<exclude>META-INF/*.DSA</exclude> | |
<exclude>META-INF/*.RSA</exclude> | |
</excludes> | |
</filter> | |
</filters> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment