pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. <parent>
  6. <artifactId>zd-modules</artifactId>
  7. <groupId>com.zd</groupId>
  8. <version>3.1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>zd-forward</artifactId>
  12. <packaging>jar</packaging>
  13. <description>AI算法</description>
  14. <properties>
  15. <maven.compiler.source>8</maven.compiler.source>
  16. <maven.compiler.target>8</maven.compiler.target>
  17. </properties>
  18. <dependencies>
  19. <!-- SpringCloud Alibaba Nacos -->
  20. <dependency>
  21. <groupId>com.alibaba.cloud</groupId>
  22. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  23. </dependency>
  24. <!-- SpringCloud Alibaba Nacos Config -->
  25. <dependency>
  26. <groupId>com.alibaba.cloud</groupId>
  27. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  28. </dependency>
  29. <!-- SpringCloud Alibaba Sentinel -->
  30. <dependency>
  31. <groupId>com.alibaba.cloud</groupId>
  32. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  33. </dependency>
  34. <!-- SpringBoot Actuator -->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-actuator</artifactId>
  38. </dependency>
  39. <!-- zd Common Swagger -->
  40. <dependency>
  41. <groupId>com.zd</groupId>
  42. <artifactId>zd-common-swagger</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.zd</groupId>
  46. <artifactId>zd-common-security</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-test</artifactId>
  51. <scope>test</scope>
  52. <exclusions>
  53. <exclusion>
  54. <groupId>org.junit.vintage</groupId>
  55. <artifactId>junit-vintage-engine</artifactId>
  56. </exclusion>
  57. </exclusions>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-configuration-processor</artifactId>
  62. <optional>true</optional>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.zd</groupId>
  66. <artifactId>zd-common-mqtt</artifactId>
  67. </dependency>
  68. <!-- https://mvnrepository.com/artifact/org.bytedeco/ffmpeg-platform -->
  69. <dependency>
  70. <groupId>org.bytedeco</groupId>
  71. <artifactId>ffmpeg-platform</artifactId>
  72. <version>5.0-1.5.7</version>
  73. </dependency>
  74. <!-- https://mvnrepository.com/artifact/org.bytedeco/javacv -->
  75. <dependency>
  76. <groupId>org.bytedeco</groupId>
  77. <artifactId>javacv</artifactId>
  78. <version>1.5.7</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework</groupId>
  82. <artifactId>spring-mock</artifactId>
  83. <version>2.0.8</version>
  84. </dependency>
  85. </dependencies>
  86. <build>
  87. <finalName>${project.artifactId}</finalName>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-maven-plugin</artifactId>
  92. <executions>
  93. <execution>
  94. <goals>
  95. <goal>repackage</goal>
  96. </goals>
  97. </execution>
  98. </executions>
  99. </plugin>
  100. <!-- 打包时跳过test插件,不运行test测试用例 -->
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-surefire-plugin</artifactId>
  104. <version>${maven-surefire-plugin.version}</version>
  105. <configuration>
  106. <skipTests>true</skipTests>
  107. </configuration>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. </project>