pom.xml 8.1 KB

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