pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  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>wvp-pro</artifactId>
  13. <version>2.6.9</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>mysql</groupId>
  126. <artifactId>mysql-connector-java</artifactId>
  127. <version>8.0.30</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 -Dversion=8.6.0 -Dpackaging=jar
  138. -->
  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. <dependency>
  147. <groupId>com.kingbase</groupId>
  148. <artifactId>kingbase8</artifactId>
  149. <version>8.6.0</version>
  150. <scope>system</scope>
  151. <systemPath>${basedir}/libs/jdbc-x86/kingbase8-8.6.0.jar</systemPath>
  152. </dependency>
  153. <!--Mybatis分页插件 -->
  154. <dependency>
  155. <groupId>com.github.pagehelper</groupId>
  156. <artifactId>pagehelper-spring-boot-starter</artifactId>
  157. <version>1.4.6</version>
  158. </dependency>
  159. <!--在线文档 -->
  160. <dependency>
  161. <groupId>org.springdoc</groupId>
  162. <artifactId>springdoc-openapi-ui</artifactId>
  163. <version>1.6.10</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.github.xiaoymin</groupId>
  167. <artifactId>knife4j-springdoc-ui</artifactId>
  168. <version>3.0.3</version>
  169. </dependency>
  170. <!--参数校验 -->
  171. <dependency>
  172. <groupId>javax.validation</groupId>
  173. <artifactId>validation-api</artifactId>
  174. </dependency>
  175. <!-- 日志相关 -->
  176. <dependency>
  177. <groupId>org.springframework.boot</groupId>
  178. <artifactId>spring-boot-starter-aop</artifactId>
  179. </dependency>
  180. <!-- sip协议栈 -->
  181. <dependency>
  182. <groupId>javax.sip</groupId>
  183. <artifactId>jain-sip-ri</artifactId>
  184. <version>1.3.0-91</version>
  185. </dependency>
  186. <!-- 取代log4j -->
  187. <dependency>
  188. <groupId>org.slf4j</groupId>
  189. <artifactId>log4j-over-slf4j</artifactId>
  190. <version>1.7.36</version>
  191. </dependency>
  192. <!-- xml解析库 -->
  193. <dependency>
  194. <groupId>org.dom4j</groupId>
  195. <artifactId>dom4j</artifactId>
  196. <version>2.1.3</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>com.google.guava</groupId>
  200. <artifactId>guava</artifactId>
  201. <version>20.0</version>
  202. </dependency>
  203. <!-- json解析库fastjson2 -->
  204. <dependency>
  205. <groupId>com.alibaba.fastjson2</groupId>
  206. <artifactId>fastjson2</artifactId>
  207. <version>2.0.17</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>com.alibaba.fastjson2</groupId>
  211. <artifactId>fastjson2-extension</artifactId>
  212. <version>2.0.17</version>
  213. </dependency>
  214. <!-- okhttp -->
  215. <dependency>
  216. <groupId>com.squareup.okhttp3</groupId>
  217. <artifactId>okhttp</artifactId>
  218. <version>4.10.0</version>
  219. </dependency>
  220. <!-- okhttp 调试日志 -->
  221. <dependency>
  222. <groupId>com.squareup.okhttp3</groupId>
  223. <artifactId>logging-interceptor</artifactId>
  224. <version>4.10.0</version>
  225. </dependency>
  226. <!-- okhttp-digest -->
  227. <dependency>
  228. <groupId>io.github.rburgst</groupId>
  229. <artifactId>okhttp-digest</artifactId>
  230. <version>2.7</version>
  231. </dependency>
  232. <!-- https://mvnrepository.com/artifact/net.sf.kxml/kxml2 -->
  233. <!-- <dependency>-->
  234. <!-- <groupId>net.sf.kxml</groupId>-->
  235. <!-- <artifactId>kxml2</artifactId>-->
  236. <!-- <version>2.3.0</version>-->
  237. <!-- </dependency>-->
  238. <!-- jwt实现 -->
  239. <dependency>
  240. <groupId>org.bitbucket.b_c</groupId>
  241. <artifactId>jose4j</artifactId>
  242. <version>0.9.3</version>
  243. </dependency>
  244. <!--反向代理-->
  245. <dependency>
  246. <groupId>org.mitre.dsmiley.httpproxy</groupId>
  247. <artifactId>smiley-http-proxy-servlet</artifactId>
  248. <version>1.12.1</version>
  249. </dependency>
  250. <!--excel解析库-->
  251. <dependency>
  252. <groupId>com.alibaba</groupId>
  253. <artifactId>easyexcel</artifactId>
  254. <version>3.1.1</version>
  255. </dependency>
  256. <!-- 获取系统信息 -->
  257. <dependency>
  258. <groupId>com.github.oshi</groupId>
  259. <artifactId>oshi-core</artifactId>
  260. <version>6.2.2</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>org.springframework.session</groupId>
  264. <artifactId>spring-session-core</artifactId>
  265. </dependency>
  266. <!-- &lt;!&ndash; 检测文件编码 &ndash;&gt;-->
  267. <!-- &lt;!&ndash; https://mvnrepository.com/artifact/cpdetector/cpdetector &ndash;&gt;-->
  268. <!-- <dependency>-->
  269. <!-- <groupId>cpdetector</groupId>-->
  270. <!-- <artifactId>cpdetector</artifactId>-->
  271. <!-- <version>1.0.8</version>-->
  272. <!-- </dependency>-->
  273. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  274. <dependency>
  275. <groupId>com.google.guava</groupId>
  276. <artifactId>guava</artifactId>
  277. <version>31.1-jre</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.springframework.boot</groupId>
  281. <artifactId>spring-boot-starter-test</artifactId>
  282. <!-- <scope>test</scope>-->
  283. </dependency>
  284. </dependencies>
  285. <build>
  286. <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>
  287. <plugins>
  288. <plugin>
  289. <groupId>org.springframework.boot</groupId>
  290. <artifactId>spring-boot-maven-plugin</artifactId>
  291. <version>2.7.2</version>
  292. <configuration>
  293. <includeSystemScope>true</includeSystemScope>
  294. </configuration>
  295. </plugin>
  296. <plugin>
  297. <groupId>org.apache.maven.plugins</groupId>
  298. <artifactId>maven-compiler-plugin</artifactId>
  299. <version>3.8.1</version>
  300. <configuration>
  301. <source>1.8</source>
  302. <target>1.8</target>
  303. </configuration>
  304. </plugin>
  305. <plugin>
  306. <groupId>pl.project13.maven</groupId>
  307. <artifactId>git-commit-id-plugin</artifactId>
  308. <version>3.0.1</version>
  309. <configuration>
  310. <offline>true</offline>
  311. <failOnNoGitDirectory>false</failOnNoGitDirectory>
  312. <dateFormat>yyyyMMdd</dateFormat>
  313. </configuration>
  314. </plugin>
  315. <plugin>
  316. <groupId>org.apache.maven.plugins</groupId>
  317. <artifactId>maven-surefire-plugin</artifactId>
  318. <version>2.22.2</version>
  319. <configuration>
  320. <skipTests>true</skipTests>
  321. </configuration>
  322. </plugin>
  323. </plugins>
  324. <resources>
  325. <resource>
  326. <directory>src/main/resources</directory>
  327. </resource>
  328. <resource>
  329. <directory>src/main/java</directory>
  330. <includes>
  331. <include>**/*.xml</include>
  332. </includes>
  333. </resource>
  334. </resources>
  335. </build>
  336. </project>