pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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-web</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-test</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.cloud</groupId>
  47. <artifactId>spring-cloud-context</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.kordamp.ezmorph</groupId>
  51. <artifactId>ezmorph</artifactId>
  52. <version>2.0.0</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>net.sf.json-lib</groupId>
  56. <artifactId>json-lib</artifactId>
  57. <version>2.4</version>
  58. <classifier>jdk15</classifier>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.alibaba</groupId>
  62. <artifactId>fastjson</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>cn.hutool</groupId>
  66. <artifactId>hutool-all</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>net.java.dev.jna</groupId>
  70. <artifactId>jna</artifactId>
  71. <version>5.4.0</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>net.java.dev.jna</groupId>
  75. <artifactId>jna-platform</artifactId>
  76. <version>5.4.0</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>io.netty</groupId>
  80. <artifactId>netty-all</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.projectlombok</groupId>
  84. <artifactId>lombok</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-configuration-processor</artifactId>
  89. </dependency>
  90. </dependencies>
  91. <repositories>
  92. <repository>
  93. <id>nexus-aliyun</id>
  94. <name>Nexus aliyun</name>
  95. <layout>default</layout>
  96. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  97. <snapshots>
  98. <enabled>false</enabled>
  99. </snapshots>
  100. <releases>
  101. <enabled>true</enabled>
  102. </releases>
  103. </repository>
  104. <repository>
  105. <id>SagaCloud</id>
  106. <name>SagaCloud</name>
  107. <url>http://47.93.132.139:8081/nexus/content/groups/public/</url>
  108. <snapshots>
  109. <enabled>true</enabled>
  110. </snapshots>
  111. <releases>
  112. <enabled>true</enabled>
  113. </releases>
  114. </repository>
  115. </repositories>
  116. <build>
  117. <finalName>${project.artifactId}</finalName>
  118. <plugins>
  119. <plugin>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-maven-plugin</artifactId>
  122. <version>${spring-boot-dependencies.version}</version>
  123. <executions>
  124. <execution>
  125. <goals>
  126. <goal>repackage</goal>
  127. </goals>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. </plugins>
  132. <resources>
  133. <resource>
  134. <directory>src/main/resources</directory>
  135. <includes>
  136. <include>**/*</include>
  137. <include>*.yml</include>
  138. </includes>
  139. </resource>
  140. <resource>
  141. <directory>src/main/resources/jar</directory>
  142. <targetPath>BOOT-INF/lib/</targetPath>
  143. <includes>
  144. <include>**/*.jar</include>
  145. </includes>
  146. </resource>
  147. <resource>
  148. <directory>src/main/resources</directory>
  149. <targetPath>BOOT-INF/classes/</targetPath>
  150. </resource>
  151. </resources>
  152. </build>
  153. </project>