pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  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.8</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. <!--Mybatis分页插件 -->
  136. <dependency>
  137. <groupId>com.github.pagehelper</groupId>
  138. <artifactId>pagehelper-spring-boot-starter</artifactId>
  139. <version>1.4.3</version>
  140. </dependency>
  141. <!--在线文档 -->
  142. <dependency>
  143. <groupId>org.springdoc</groupId>
  144. <artifactId>springdoc-openapi-ui</artifactId>
  145. <version>1.6.10</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.github.xiaoymin</groupId>
  149. <artifactId>knife4j-springdoc-ui</artifactId>
  150. <version>3.0.3</version>
  151. </dependency>
  152. <!--参数校验 -->
  153. <dependency>
  154. <groupId>javax.validation</groupId>
  155. <artifactId>validation-api</artifactId>
  156. </dependency>
  157. <!-- 日志相关 -->
  158. <dependency>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-starter-aop</artifactId>
  161. </dependency>
  162. <!-- sip协议栈 -->
  163. <dependency>
  164. <groupId>javax.sip</groupId>
  165. <artifactId>jain-sip-ri</artifactId>
  166. <version>1.3.0-91</version>
  167. </dependency>
  168. <!-- 取代log4j -->
  169. <dependency>
  170. <groupId>org.slf4j</groupId>
  171. <artifactId>log4j-over-slf4j</artifactId>
  172. <version>1.7.36</version>
  173. </dependency>
  174. <!-- xml解析库 -->
  175. <dependency>
  176. <groupId>org.dom4j</groupId>
  177. <artifactId>dom4j</artifactId>
  178. <version>2.1.3</version>
  179. </dependency>
  180. <!-- json解析库fastjson2 -->
  181. <dependency>
  182. <groupId>com.alibaba.fastjson2</groupId>
  183. <artifactId>fastjson2</artifactId>
  184. <version>2.0.17</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.alibaba.fastjson2</groupId>
  188. <artifactId>fastjson2-extension</artifactId>
  189. <version>2.0.17</version>
  190. </dependency>
  191. <!-- okhttp -->
  192. <dependency>
  193. <groupId>com.squareup.okhttp3</groupId>
  194. <artifactId>okhttp</artifactId>
  195. <version>4.10.0</version>
  196. </dependency>
  197. <!-- okhttp 调试日志 -->
  198. <dependency>
  199. <groupId>com.squareup.okhttp3</groupId>
  200. <artifactId>logging-interceptor</artifactId>
  201. <version>4.10.0</version>
  202. </dependency>
  203. <!-- okhttp-digest -->
  204. <dependency>
  205. <groupId>io.github.rburgst</groupId>
  206. <artifactId>okhttp-digest</artifactId>
  207. <version>2.7</version>
  208. </dependency>
  209. <!-- https://mvnrepository.com/artifact/net.sf.kxml/kxml2 -->
  210. <!-- <dependency>-->
  211. <!-- <groupId>net.sf.kxml</groupId>-->
  212. <!-- <artifactId>kxml2</artifactId>-->
  213. <!-- <version>2.3.0</version>-->
  214. <!-- </dependency>-->
  215. <!-- jwt实现 -->
  216. <dependency>
  217. <groupId>org.bitbucket.b_c</groupId>
  218. <artifactId>jose4j</artifactId>
  219. <version>0.9.3</version>
  220. </dependency>
  221. <!--反向代理-->
  222. <dependency>
  223. <groupId>org.mitre.dsmiley.httpproxy</groupId>
  224. <artifactId>smiley-http-proxy-servlet</artifactId>
  225. <version>1.12.1</version>
  226. </dependency>
  227. <!--excel解析库-->
  228. <dependency>
  229. <groupId>com.alibaba</groupId>
  230. <artifactId>easyexcel</artifactId>
  231. <version>3.1.1</version>
  232. </dependency>
  233. <!-- 获取系统信息 -->
  234. <dependency>
  235. <groupId>com.github.oshi</groupId>
  236. <artifactId>oshi-core</artifactId>
  237. <version>6.2.2</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>org.springframework.session</groupId>
  241. <artifactId>spring-session-core</artifactId>
  242. </dependency>
  243. <!-- &lt;!&ndash; 检测文件编码 &ndash;&gt;-->
  244. <!-- &lt;!&ndash; https://mvnrepository.com/artifact/cpdetector/cpdetector &ndash;&gt;-->
  245. <!-- <dependency>-->
  246. <!-- <groupId>cpdetector</groupId>-->
  247. <!-- <artifactId>cpdetector</artifactId>-->
  248. <!-- <version>1.0.8</version>-->
  249. <!-- </dependency>-->
  250. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  251. <dependency>
  252. <groupId>com.google.guava</groupId>
  253. <artifactId>guava</artifactId>
  254. <version>31.1-jre</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.springframework.boot</groupId>
  258. <artifactId>spring-boot-starter-test</artifactId>
  259. <!-- <scope>test</scope>-->
  260. </dependency>
  261. </dependencies>
  262. <build>
  263. <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>
  264. <plugins>
  265. <plugin>
  266. <groupId>org.springframework.boot</groupId>
  267. <artifactId>spring-boot-maven-plugin</artifactId>
  268. <version>2.7.2</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>