pom.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.example</groupId>
  7. <artifactId>testDs</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <maven.compiler.source>1.8</maven.compiler.source>
  11. <maven.compiler.target>1.8</maven.compiler.target>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. </properties>
  14. <repositories>
  15. <repository>
  16. <id>syjy-repos</id>
  17. <name>syjy Repository</name>
  18. <url>http://49.4.68.219:8888/nexus/content/groups/public/</url>
  19. <releases>
  20. <enabled>true</enabled>
  21. </releases>
  22. <snapshots>
  23. <enabled>true</enabled>
  24. </snapshots>
  25. </repository>
  26. </repositories>
  27. <dependencies>
  28. <dependency>
  29. <groupId>org.deeplearning4j</groupId>
  30. <artifactId>deeplearning4j-core</artifactId>
  31. <version>1.0.0-beta7</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.nd4j</groupId>
  35. <artifactId>nd4j-native-platform</artifactId>
  36. <version>1.0.0-beta7</version>
  37. </dependency>
  38. </dependencies>
  39. <build>
  40. <plugins>
  41. <plugin>
  42. <groupId>org.codehaus.mojo</groupId>
  43. <artifactId>exec-maven-plugin</artifactId>
  44. <version>3.0.0</version>
  45. <configuration>
  46. <mainClass>org.example.Main</mainClass>
  47. </configuration>
  48. </plugin>
  49. <plugin>
  50. <groupId>org.apache.maven.plugins</groupId>
  51. <artifactId>maven-shade-plugin</artifactId>
  52. <version>2.4.3</version>
  53. <executions>
  54. <execution>
  55. <phase>package</phase>
  56. <goals>
  57. <goal>shade</goal>
  58. </goals>
  59. <configuration>
  60. <createDependencyReducedPom>false</createDependencyReducedPom>
  61. <transformers>
  62. <transformer
  63. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  64. <mainClass>org.example.Main</mainClass>
  65. </transformer>
  66. </transformers>
  67. </configuration>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. </plugins>
  72. </build>
  73. </project>