Advertisement
Guest User

my pom.xml

a guest
Aug 26th, 2017
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.60 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2.  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3.   <modelVersion>4.0.0</modelVersion>
  4.  
  5.   <groupId>com.test.whatever</groupId>
  6.   <artifactId>whatever</artifactId>
  7.   <version>1.0-SNAPSHOT</version>
  8.   <packaging>jar</packaging>
  9.  
  10.   <name>whatever</name>
  11.   <url>http://maven.apache.org</url>
  12.  
  13.  
  14.   <properties>
  15.     <dl4j.version>0.8.1-SNAPSHOT</dl4j.version>
  16.     <slf4j.version>1.7.16</slf4j.version>
  17.   </properties>
  18.  
  19.   <dependencies>
  20.     <dependency>
  21.       <groupId>org.deeplearning4j</groupId>
  22.       <artifactId>deeplearning4j-core</artifactId>
  23.       <version>${dl4j.version}</version>
  24.     </dependency>
  25.  
  26.     <dependency>
  27.       <groupId>org.deeplearning4j</groupId>
  28.       <artifactId>deeplearning4j-modelimport</artifactId>
  29.       <version>${dl4j.version}</version>
  30.     </dependency>
  31.  
  32.     <dependency>
  33.       <groupId>org.nd4j</groupId>
  34.       <artifactId>nd4j-native-platform</artifactId>
  35.       <version>${dl4j.version}</version>
  36.     </dependency>
  37.     <dependency>
  38.       <groupId>org.slf4j</groupId>
  39.       <artifactId>slf4j-log4j12</artifactId>
  40.       <version>${slf4j.version}</version>
  41.     </dependency>
  42.   </dependencies>
  43.   <repositories> <!-- SNAPSHOTS -->
  44.     <repository>
  45.       <id>oss-sonatype</id>
  46.       <name>oss-sonatype</name>
  47.       <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  48.       <snapshots>
  49.         <enabled>true</enabled>
  50.       </snapshots>
  51.     </repository>
  52.   </repositories>
  53.   <build>
  54.     <plugins>
  55.       <plugin>
  56.         <groupId>org.apache.maven.plugins</groupId>
  57.         <artifactId>maven-compiler-plugin</artifactId>
  58.         <version>3.6.1</version>
  59.         <configuration>
  60.           <source>1.8</source>
  61.           <target>1.8</target>
  62.         </configuration>
  63.       </plugin>
  64.       <plugin>
  65.         <artifactId>maven-assembly-plugin</artifactId>
  66.         <configuration>
  67.           <archive>
  68.             <manifest>
  69.               <mainClass>edu.usc.irds.dl.dl4j.examples.KerasInceptionV3Net</mainClass>
  70.             </manifest>
  71.           </archive>
  72.           <descriptorRefs>
  73.             <descriptorRef>jar-with-dependencies</descriptorRef>
  74.           </descriptorRefs>
  75.         </configuration>
  76.         <executions>
  77.           <execution>
  78.             <id>make-assembly</id>
  79.             <phase>package</phase>
  80.             <goals>
  81.               <goal>single</goal>
  82.             </goals>
  83.           </execution>
  84.         </executions>
  85.       </plugin>
  86.     </plugins>
  87.  
  88.   </build>
  89. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement