pom.xml 9.4 KB

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