pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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.3.2</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. <exclusions>
  59. <exclusion>
  60. <groupId>redis.clients</groupId>
  61. <artifactId>jedis</artifactId>
  62. </exclusion>
  63. <exclusion>
  64. <groupId>io.lettuce</groupId>
  65. <artifactId>lettuce-core</artifactId>
  66. </exclusion>
  67. </exclusions>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.commons</groupId>
  71. <artifactId>commons-pool2</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-web</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-configuration-processor</artifactId>
  80. <optional>true</optional>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.mybatis.spring.boot</groupId>
  84. <artifactId>mybatis-spring-boot-starter</artifactId>
  85. <version>2.2.2</version>
  86. <exclusions>
  87. <exclusion>
  88. <groupId>com.zaxxer</groupId>
  89. <artifactId>HikariCP</artifactId>
  90. </exclusion>
  91. </exclusions>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-security</artifactId>
  96. </dependency>
  97. <!-- druid数据库连接池 -->
  98. <dependency>
  99. <groupId>com.alibaba</groupId>
  100. <artifactId>druid-spring-boot-starter</artifactId>
  101. <version>1.2.11</version>
  102. </dependency>
  103. <!-- mysql数据库 -->
  104. <dependency>
  105. <groupId>mysql</groupId>
  106. <artifactId>mysql-connector-java</artifactId>
  107. <version>8.0.30</version>
  108. </dependency>
  109. <!--Mybatis分页插件 -->
  110. <dependency>
  111. <groupId>com.github.pagehelper</groupId>
  112. <artifactId>pagehelper-spring-boot-starter</artifactId>
  113. <version>1.4.3</version>
  114. </dependency>
  115. <!--在线文档 -->
  116. <dependency>
  117. <groupId>org.springdoc</groupId>
  118. <artifactId>springdoc-openapi-ui</artifactId>
  119. <version>1.6.10</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.github.xiaoymin</groupId>
  123. <artifactId>knife4j-springdoc-ui</artifactId>
  124. <version>3.0.3</version>
  125. </dependency>
  126. <!--参数校验 -->
  127. <dependency>
  128. <groupId>javax.validation</groupId>
  129. <artifactId>validation-api</artifactId>
  130. </dependency>
  131. <!-- 日志相关 -->
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-aop</artifactId>
  135. </dependency>
  136. <!-- sip协议栈 -->
  137. <dependency>
  138. <groupId>javax.sip</groupId>
  139. <artifactId>jain-sip-ri</artifactId>
  140. <version>1.3.0-91</version>
  141. </dependency>
  142. <!-- 取代log4j -->
  143. <dependency>
  144. <groupId>org.slf4j</groupId>
  145. <artifactId>log4j-over-slf4j</artifactId>
  146. <version>1.7.36</version>
  147. </dependency>
  148. <!-- xml解析库 -->
  149. <dependency>
  150. <groupId>org.dom4j</groupId>
  151. <artifactId>dom4j</artifactId>
  152. <version>2.1.3</version>
  153. </dependency>
  154. <!-- json解析库fastjson -->
  155. <dependency>
  156. <groupId>com.alibaba</groupId>
  157. <artifactId>fastjson</artifactId>
  158. <version>1.2.83</version>
  159. </dependency>
  160. <!-- okhttp -->
  161. <dependency>
  162. <groupId>com.squareup.okhttp3</groupId>
  163. <artifactId>okhttp</artifactId>
  164. <version>4.10.0</version>
  165. </dependency>
  166. <!-- okhttp 调试日志 -->
  167. <dependency>
  168. <groupId>com.squareup.okhttp3</groupId>
  169. <artifactId>logging-interceptor</artifactId>
  170. <version>4.10.0</version>
  171. </dependency>
  172. <!-- okhttp-digest -->
  173. <dependency>
  174. <groupId>io.github.rburgst</groupId>
  175. <artifactId>okhttp-digest</artifactId>
  176. <version>2.7</version>
  177. </dependency>
  178. <!-- https://mvnrepository.com/artifact/net.sf.kxml/kxml2 -->
  179. <dependency>
  180. <groupId>net.sf.kxml</groupId>
  181. <artifactId>kxml2</artifactId>
  182. <version>2.3.0</version>
  183. </dependency>
  184. <!--反向代理-->
  185. <dependency>
  186. <groupId>org.mitre.dsmiley.httpproxy</groupId>
  187. <artifactId>smiley-http-proxy-servlet</artifactId>
  188. <version>1.12.1</version>
  189. </dependency>
  190. <!--excel解析库-->
  191. <dependency>
  192. <groupId>com.alibaba</groupId>
  193. <artifactId>easyexcel</artifactId>
  194. <version>3.1.1</version>
  195. </dependency>
  196. <!-- 获取系统信息 -->
  197. <dependency>
  198. <groupId>com.github.oshi</groupId>
  199. <artifactId>oshi-core</artifactId>
  200. <version>6.2.2</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.springframework.session</groupId>
  204. <artifactId>spring-session-core</artifactId>
  205. </dependency>
  206. <!-- &lt;!&ndash; 检测文件编码 &ndash;&gt;-->
  207. <!-- &lt;!&ndash; https://mvnrepository.com/artifact/cpdetector/cpdetector &ndash;&gt;-->
  208. <!-- <dependency>-->
  209. <!-- <groupId>cpdetector</groupId>-->
  210. <!-- <artifactId>cpdetector</artifactId>-->
  211. <!-- <version>1.0.8</version>-->
  212. <!-- </dependency>-->
  213. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  214. <dependency>
  215. <groupId>com.google.guava</groupId>
  216. <artifactId>guava</artifactId>
  217. <version>31.1-jre</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.springframework.boot</groupId>
  221. <artifactId>spring-boot-starter-test</artifactId>
  222. <!-- <scope>test</scope>-->
  223. </dependency>
  224. </dependencies>
  225. <build>
  226. <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>
  227. <plugins>
  228. <plugin>
  229. <groupId>org.springframework.boot</groupId>
  230. <artifactId>spring-boot-maven-plugin</artifactId>
  231. <version>2.3.5.RELEASE</version>
  232. <configuration>
  233. <includeSystemScope>true</includeSystemScope>
  234. </configuration>
  235. </plugin>
  236. <plugin>
  237. <groupId>org.apache.maven.plugins</groupId>
  238. <artifactId>maven-compiler-plugin</artifactId>
  239. <version>3.8.1</version>
  240. <configuration>
  241. <source>1.8</source>
  242. <target>1.8</target>
  243. </configuration>
  244. </plugin>
  245. <!-- <plugin>
  246. <groupId>pl.project13.maven</groupId>
  247. <artifactId>git-commit-id-plugin</artifactId>
  248. <version>3.0.1</version>
  249. <configuration>
  250. <offline>true</offline>
  251. </configuration>
  252. </plugin>-->
  253. <plugin>
  254. <groupId>org.apache.maven.plugins</groupId>
  255. <artifactId>maven-surefire-plugin</artifactId>
  256. <version>2.22.2</version>
  257. <configuration>
  258. <skipTests>true</skipTests>
  259. </configuration>
  260. </plugin>
  261. </plugins>
  262. <resources>
  263. <resource>
  264. <directory>src/main/resources</directory>
  265. </resource>
  266. <resource>
  267. <directory>src/main/java</directory>
  268. <includes>
  269. <include>**/*.xml</include>
  270. </includes>
  271. </resource>
  272. </resources>
  273. </build>
  274. </project>