pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.persagy</groupId>
  6. <artifactId>persagy-camera-zhaoshang</artifactId>
  7. <version>1.0.0</version>
  8. <description>摄像头监控</description>
  9. <properties>
  10. <!-- java版本 -->
  11. <java.encoding>UTF-8</java.encoding>
  12. <java.version>8</java.version>
  13. <java.source.version>1.8</java.source.version>
  14. <java.target.version>1.8</java.target.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <!-- spring版本依赖 -->
  17. <integrated-platform.version>2.0.0</integrated-platform.version>
  18. <spring-boot-dependencies.version>2.1.14.RELEASE</spring-boot-dependencies.version>
  19. <spring-cloud-dependencies.version>Greenwich.SR6</spring-cloud-dependencies.version>
  20. </properties>
  21. <dependencyManagement>
  22. <dependencies>
  23. <dependency>
  24. <groupId>com.persagy</groupId>
  25. <artifactId>integrated-platform</artifactId>
  26. <version>${integrated-platform.version}</version>
  27. <type>pom</type>
  28. <scope>import</scope>
  29. </dependency>
  30. </dependencies>
  31. </dependencyManagement>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-validation</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-web</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-test</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.cloud</groupId>
  51. <artifactId>spring-cloud-context</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.kordamp.ezmorph</groupId>
  55. <artifactId>ezmorph</artifactId>
  56. <version>2.0.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>net.sf.json-lib</groupId>
  60. <artifactId>json-lib</artifactId>
  61. <version>2.4</version>
  62. <classifier>jdk15</classifier>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>fastjson</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>cn.hutool</groupId>
  70. <artifactId>hutool-all</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>net.java.dev.jna</groupId>
  74. <artifactId>jna</artifactId>
  75. <version>5.4.0</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>net.java.dev.jna</groupId>
  79. <artifactId>jna-platform</artifactId>
  80. <version>5.4.0</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>io.netty</groupId>
  84. <artifactId>netty-all</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.projectlombok</groupId>
  88. <artifactId>lombok</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-configuration-processor</artifactId>
  93. </dependency>
  94. </dependencies>
  95. <repositories>
  96. <repository>
  97. <id>nexus-aliyun</id>
  98. <name>Nexus aliyun</name>
  99. <layout>default</layout>
  100. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  101. <snapshots>
  102. <enabled>false</enabled>
  103. </snapshots>
  104. <releases>
  105. <enabled>true</enabled>
  106. </releases>
  107. </repository>
  108. <repository>
  109. <id>SagaCloud</id>
  110. <name>SagaCloud</name>
  111. <url>http://47.93.132.139:8081/nexus/content/groups/public/</url>
  112. <snapshots>
  113. <enabled>true</enabled>
  114. </snapshots>
  115. <releases>
  116. <enabled>true</enabled>
  117. </releases>
  118. </repository>
  119. </repositories>
  120. <build>
  121. <finalName>${project.artifactId}</finalName>
  122. <plugins>
  123. <plugin>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-maven-plugin</artifactId>
  126. <version>${spring-boot-dependencies.version}</version>
  127. <executions>
  128. <execution>
  129. <goals>
  130. <goal>repackage</goal>
  131. </goals>
  132. </execution>
  133. </executions>
  134. </plugin>
  135. </plugins>
  136. <resources>
  137. <resource>
  138. <directory>src/main/resources</directory>
  139. <includes>
  140. <include>**/*</include>
  141. <include>*.yml</include>
  142. </includes>
  143. </resource>
  144. <resource>
  145. <directory>src/main/resources/jar</directory>
  146. <targetPath>BOOT-INF/lib/</targetPath>
  147. <includes>
  148. <include>**/*.jar</include>
  149. </includes>
  150. </resource>
  151. <resource>
  152. <directory>src/main/resources</directory>
  153. <targetPath>BOOT-INF/classes/</targetPath>
  154. </resource>
  155. </resources>
  156. </build>
  157. </project>