pom.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  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.7</version>
  14. <name>web video platform</name>
  15. <description>国标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解析库fastjson2 -->
  141. <dependency>
  142. <groupId>com.alibaba.fastjson2</groupId>
  143. <artifactId>fastjson2</artifactId>
  144. <version>2.0.17</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.alibaba.fastjson2</groupId>
  148. <artifactId>fastjson2-extension</artifactId>
  149. <version>2.0.17</version>
  150. </dependency>
  151. <!-- okhttp -->
  152. <dependency>
  153. <groupId>com.squareup.okhttp3</groupId>
  154. <artifactId>okhttp</artifactId>
  155. <version>4.10.0</version>
  156. </dependency>
  157. <!-- okhttp 调试日志 -->
  158. <dependency>
  159. <groupId>com.squareup.okhttp3</groupId>
  160. <artifactId>logging-interceptor</artifactId>
  161. <version>4.10.0</version>
  162. </dependency>
  163. <!-- okhttp-digest -->
  164. <dependency>
  165. <groupId>io.github.rburgst</groupId>
  166. <artifactId>okhttp-digest</artifactId>
  167. <version>2.7</version>
  168. </dependency>
  169. <!-- https://mvnrepository.com/artifact/net.sf.kxml/kxml2 -->
  170. <dependency>
  171. <groupId>net.sf.kxml</groupId>
  172. <artifactId>kxml2</artifactId>
  173. <version>2.3.0</version>
  174. </dependency>
  175. <!--反向代理-->
  176. <dependency>
  177. <groupId>org.mitre.dsmiley.httpproxy</groupId>
  178. <artifactId>smiley-http-proxy-servlet</artifactId>
  179. <version>1.12.1</version>
  180. </dependency>
  181. <!--excel解析库-->
  182. <dependency>
  183. <groupId>com.alibaba</groupId>
  184. <artifactId>easyexcel</artifactId>
  185. <version>3.1.1</version>
  186. </dependency>
  187. <!-- 获取系统信息 -->
  188. <dependency>
  189. <groupId>com.github.oshi</groupId>
  190. <artifactId>oshi-core</artifactId>
  191. <version>6.2.2</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.springframework.session</groupId>
  195. <artifactId>spring-session-core</artifactId>
  196. </dependency>
  197. <!-- &lt;!&ndash; 检测文件编码 &ndash;&gt;-->
  198. <!-- &lt;!&ndash; https://mvnrepository.com/artifact/cpdetector/cpdetector &ndash;&gt;-->
  199. <!-- <dependency>-->
  200. <!-- <groupId>cpdetector</groupId>-->
  201. <!-- <artifactId>cpdetector</artifactId>-->
  202. <!-- <version>1.0.8</version>-->
  203. <!-- </dependency>-->
  204. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  205. <dependency>
  206. <groupId>com.google.guava</groupId>
  207. <artifactId>guava</artifactId>
  208. <version>31.1-jre</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.springframework.boot</groupId>
  212. <artifactId>spring-boot-starter-test</artifactId>
  213. <!-- <scope>test</scope>-->
  214. </dependency>
  215. </dependencies>
  216. <build>
  217. <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>
  218. <plugins>
  219. <plugin>
  220. <groupId>org.springframework.boot</groupId>
  221. <artifactId>spring-boot-maven-plugin</artifactId>
  222. <version>2.3.5.RELEASE</version>
  223. <configuration>
  224. <includeSystemScope>true</includeSystemScope>
  225. </configuration>
  226. </plugin>
  227. <plugin>
  228. <groupId>org.apache.maven.plugins</groupId>
  229. <artifactId>maven-compiler-plugin</artifactId>
  230. <version>3.8.1</version>
  231. <configuration>
  232. <source>1.8</source>
  233. <target>1.8</target>
  234. </configuration>
  235. </plugin>
  236. <plugin>
  237. <groupId>pl.project13.maven</groupId>
  238. <artifactId>git-commit-id-plugin</artifactId>
  239. <version>3.0.1</version>
  240. <configuration>
  241. <offline>true</offline>
  242. <failOnNoGitDirectory>false</failOnNoGitDirectory>
  243. <dateFormat>yyyyMMdd</dateFormat>
  244. </configuration>
  245. </plugin>
  246. <plugin>
  247. <groupId>org.apache.maven.plugins</groupId>
  248. <artifactId>maven-surefire-plugin</artifactId>
  249. <version>2.22.2</version>
  250. <configuration>
  251. <skipTests>true</skipTests>
  252. </configuration>
  253. </plugin>
  254. </plugins>
  255. <resources>
  256. <resource>
  257. <directory>src/main/resources</directory>
  258. </resource>
  259. <resource>
  260. <directory>src/main/java</directory>
  261. <includes>
  262. <include>**/*.xml</include>
  263. </includes>
  264. </resource>
  265. </resources>
  266. </build>
  267. </project>