pom.xml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. <?xml version="1.0"?>
  2. <project
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.7.2</version>
  10. </parent>
  11. <groupId>com.genersoft</groupId>
  12. <artifactId>hfy-gb</artifactId>
  13. <version>1.0.1</version>
  14. <name>hfy-gb28181</name>
  15. <description>hfy国标28181视频平台</description>
  16. <repositories>
  17. <repository>
  18. <id>nexus-aliyun</id>
  19. <name>Nexus aliyun</name>
  20. <url>https://maven.aliyun.com/repository/public</url>
  21. <layout>default</layout>
  22. <snapshots>
  23. <enabled>false</enabled>
  24. </snapshots>
  25. <releases>
  26. <enabled>true</enabled>
  27. </releases>
  28. </repository>
  29. </repositories>
  30. <pluginRepositories>
  31. <pluginRepository>
  32. <id>nexus-aliyun</id>
  33. <name>Nexus aliyun</name>
  34. <url>https://maven.aliyun.com/repository/public</url>
  35. <snapshots>
  36. <enabled>false</enabled>
  37. </snapshots>
  38. <releases>
  39. <enabled>true</enabled>
  40. </releases>
  41. </pluginRepository>
  42. </pluginRepositories>
  43. <properties>
  44. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  45. <maven.build.timestamp.format>MMddHHmm</maven.build.timestamp.format>
  46. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  47. <!-- 依赖版本 -->
  48. <snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
  49. <asciidoctor.input.directory>${project.basedir}/docs/asciidoc</asciidoctor.input.directory>
  50. <generated.asciidoc.directory>${project.build.directory}/asciidoc</generated.asciidoc.directory>
  51. <asciidoctor.html.output.directory>${project.build.directory}/asciidoc/html</asciidoctor.html.output.directory>
  52. <asciidoctor.pdf.output.directory>${project.build.directory}/asciidoc/pdf</asciidoctor.pdf.output.directory>
  53. </properties>
  54. <dependencies>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-data-redis</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-web</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-configuration-processor</artifactId>
  66. <optional>true</optional>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.mybatis.spring.boot</groupId>
  70. <artifactId>mybatis-spring-boot-starter</artifactId>
  71. <version>2.2.2</version>
  72. <exclusions>
  73. <exclusion>
  74. <groupId>com.zaxxer</groupId>
  75. <artifactId>HikariCP</artifactId>
  76. </exclusion>
  77. </exclusions>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-security</artifactId>
  82. </dependency>
  83. <!-- druid数据库连接池 -->
  84. <dependency>
  85. <groupId>com.alibaba</groupId>
  86. <artifactId>druid-spring-boot-starter</artifactId>
  87. <version>1.2.11</version>
  88. </dependency>
  89. <!-- mysql数据库 -->
  90. <dependency>
  91. <groupId>mysql</groupId>
  92. <artifactId>mysql-connector-java</artifactId>
  93. <version>8.0.30</version>
  94. </dependency>
  95. <!--Mybatis分页插件 -->
  96. <dependency>
  97. <groupId>com.github.pagehelper</groupId>
  98. <artifactId>pagehelper-spring-boot-starter</artifactId>
  99. <version>1.4.3</version>
  100. </dependency>
  101. <!--在线文档 -->
  102. <dependency>
  103. <groupId>org.springdoc</groupId>
  104. <artifactId>springdoc-openapi-ui</artifactId>
  105. <version>1.6.10</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.github.xiaoymin</groupId>
  109. <artifactId>knife4j-springdoc-ui</artifactId>
  110. <version>3.0.3</version>
  111. </dependency>
  112. <!--参数校验 -->
  113. <dependency>
  114. <groupId>javax.validation</groupId>
  115. <artifactId>validation-api</artifactId>
  116. </dependency>
  117. <!-- 日志相关 -->
  118. <dependency>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-starter-aop</artifactId>
  121. </dependency>
  122. <!-- sip协议栈 -->
  123. <dependency>
  124. <groupId>javax.sip</groupId>
  125. <artifactId>jain-sip-ri</artifactId>
  126. <version>1.3.0-91</version>
  127. </dependency>
  128. <!-- 取代log4j -->
  129. <dependency>
  130. <groupId>org.slf4j</groupId>
  131. <artifactId>log4j-over-slf4j</artifactId>
  132. <version>1.7.36</version>
  133. </dependency>
  134. <!-- xml解析库 -->
  135. <dependency>
  136. <groupId>org.dom4j</groupId>
  137. <artifactId>dom4j</artifactId>
  138. <version>2.1.3</version>
  139. </dependency>
  140. <!-- json解析库fastjson -->
  141. <dependency>
  142. <groupId>com.alibaba</groupId>
  143. <artifactId>fastjson</artifactId>
  144. <version>1.2.83</version>
  145. </dependency>
  146. <!-- okhttp -->
  147. <dependency>
  148. <groupId>com.squareup.okhttp3</groupId>
  149. <artifactId>okhttp</artifactId>
  150. <version>4.10.0</version>
  151. </dependency>
  152. <!-- okhttp 调试日志 -->
  153. <dependency>
  154. <groupId>com.squareup.okhttp3</groupId>
  155. <artifactId>logging-interceptor</artifactId>
  156. <version>4.10.0</version>
  157. </dependency>
  158. <!-- okhttp-digest -->
  159. <dependency>
  160. <groupId>io.github.rburgst</groupId>
  161. <artifactId>okhttp-digest</artifactId>
  162. <version>2.7</version>
  163. </dependency>
  164. <!-- https://mvnrepository.com/artifact/net.sf.kxml/kxml2 -->
  165. <dependency>
  166. <groupId>net.sf.kxml</groupId>
  167. <artifactId>kxml2</artifactId>
  168. <version>2.3.0</version>
  169. </dependency>
  170. <!--反向代理-->
  171. <dependency>
  172. <groupId>org.mitre.dsmiley.httpproxy</groupId>
  173. <artifactId>smiley-http-proxy-servlet</artifactId>
  174. <version>1.12.1</version>
  175. </dependency>
  176. <!--excel解析库-->
  177. <dependency>
  178. <groupId>com.alibaba</groupId>
  179. <artifactId>easyexcel</artifactId>
  180. <version>3.1.1</version>
  181. </dependency>
  182. <!-- 获取系统信息 -->
  183. <dependency>
  184. <groupId>com.github.oshi</groupId>
  185. <artifactId>oshi-core</artifactId>
  186. <version>6.2.2</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.springframework.session</groupId>
  190. <artifactId>spring-session-core</artifactId>
  191. </dependency>
  192. <!-- &lt;!&ndash; 检测文件编码 &ndash;&gt;-->
  193. <!-- &lt;!&ndash; https://mvnrepository.com/artifact/cpdetector/cpdetector &ndash;&gt;-->
  194. <!-- <dependency>-->
  195. <!-- <groupId>cpdetector</groupId>-->
  196. <!-- <artifactId>cpdetector</artifactId>-->
  197. <!-- <version>1.0.8</version>-->
  198. <!-- </dependency>-->
  199. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  200. <dependency>
  201. <groupId>com.google.guava</groupId>
  202. <artifactId>guava</artifactId>
  203. <version>31.1-jre</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.springframework.boot</groupId>
  207. <artifactId>spring-boot-starter-test</artifactId>
  208. <!-- <scope>test</scope>-->
  209. </dependency>
  210. </dependencies>
  211. <build>
  212. <!-- <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>-->
  213. <finalName>${project.artifactId}</finalName>
  214. <plugins>
  215. <plugin>
  216. <groupId>org.springframework.boot</groupId>
  217. <artifactId>spring-boot-maven-plugin</artifactId>
  218. <version>2.3.5.RELEASE</version>
  219. <configuration>
  220. <includeSystemScope>true</includeSystemScope>
  221. </configuration>
  222. </plugin>
  223. <plugin>
  224. <groupId>org.apache.maven.plugins</groupId>
  225. <artifactId>maven-compiler-plugin</artifactId>
  226. <version>3.8.1</version>
  227. <configuration>
  228. <source>1.8</source>
  229. <target>1.8</target>
  230. </configuration>
  231. </plugin>
  232. <plugin>
  233. <groupId>pl.project13.maven</groupId>
  234. <artifactId>git-commit-id-plugin</artifactId>
  235. <version>3.0.1</version>
  236. <configuration>
  237. <offline>true</offline>
  238. <failOnNoGitDirectory>false</failOnNoGitDirectory>
  239. <dateFormat>yyyyMMdd</dateFormat>
  240. </configuration>
  241. </plugin>
  242. <plugin>
  243. <groupId>org.apache.maven.plugins</groupId>
  244. <artifactId>maven-surefire-plugin</artifactId>
  245. <version>2.22.2</version>
  246. <configuration>
  247. <skipTests>true</skipTests>
  248. </configuration>
  249. </plugin>
  250. </plugins>
  251. <resources>
  252. <resource>
  253. <directory>src/main/resources</directory>
  254. </resource>
  255. <resource>
  256. <directory>src/main/java</directory>
  257. <includes>
  258. <include>**/*.xml</include>
  259. </includes>
  260. </resource>
  261. </resources>
  262. </build>
  263. </project>