Created
          July 20, 2016 17:12 
        
      - 
      
- 
        Save osipov/ffca48179c6a5b140df6b235de547b01 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or 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.deeplearning4j</groupId> | |
| <artifactId>dl4j-spark-cdh5-examples</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <packaging>jar</packaging> | |
| <name>dl4j-spark-cdh5-examples</name> | |
| <url>http://maven.apache.org</url> | |
| <properties> | |
| <spring.version>3.2.5.RELEASE</spring.version> | |
| <logback.version>1.1.2</logback.version> | |
| <netty.version>4.0.28.Final</netty.version> | |
| <lombok.version>1.16.4</lombok.version> | |
| <javacpp.platform>linux-x86_64</javacpp.platform> | |
| <nd4j.version>0.4.0</nd4j.version> | |
| <nd4j.backend>nd4j-native-platform</nd4j.backend> | |
| <dl4j.version>0.4.0</dl4j.version> | |
| <scala.version>2.10.6</scala.version> | |
| <scala.binary.version>2.10</scala.binary.version> | |
| <spark.version>1.5.0</spark.version> | |
| <jcommander.version>1.27</jcommander.version> | |
| </properties> | |
| <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> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <source>1.7</source> | |
| <target>1.7</target> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-shade-plugin</artifactId> | |
| <version>1.6</version> | |
| <configuration> | |
| <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"> | |
| </transformer> | |
| </transformers> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <version>2.4.1</version> | |
| <configuration> | |
| <descriptorRefs> | |
| <descriptorRef>jar-with-dependencies</descriptorRef> | |
| </descriptorRefs> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>make-assembly</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>single</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.nd4j</groupId> | |
| <artifactId>nd4j-native-platform</artifactId> | |
| <version>${nd4j.version}</version> | |
| <classifier>linux-x86_64</classifier> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.nd4j</groupId> | |
| <artifactId>nd4j-cuda-7.5</artifactId> | |
| <version>${nd4j.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.nd4j</groupId> | |
| <artifactId>nd4j-api</artifactId> | |
| <version>${nd4j.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-library</artifactId> | |
| <version>${scala.version}</version> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-mllib_${scala.binary.version}</artifactId> | |
| <version>${spark.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-library</artifactId> | |
| <version>${scala.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.deeplearning4j</groupId> | |
| <artifactId>dl4j-spark_${scala.binary.version}</artifactId> | |
| <version>${dl4j.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <artifactId>spark-core_2.10</artifactId> | |
| <groupId>org.apache.spark</groupId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-core_${scala.binary.version}</artifactId> | |
| <version>${spark.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>servlet-api</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.beust</groupId> | |
| <artifactId>jcommander</artifactId> | |
| <version>${jcommander.version}</version> | |
| </dependency> | |
| </dependencies> | |
| </project> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment