pom.xml 13 KB

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