pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.6.0</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.lqkj</groupId>
  13. <artifactId>slj-server</artifactId>
  14. <version>1.0-SNAPSHOT</version>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <java.version>1.8</java.version>
  19. <lingwei.version>1.0.0</lingwei.version>
  20. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  21. <bitwalker.version>1.21</bitwalker.version>
  22. <mybatis-spring-boot.version>2.2.0</mybatis-spring-boot.version>
  23. <pagehelper.boot.version>1.4.1</pagehelper.boot.version>
  24. <oshi.version>5.8.2</oshi.version>
  25. <jna.version>5.9.0</jna.version>
  26. <kaptcha.version>2.3.2</kaptcha.version>
  27. <swagger.version>3.0.0</swagger.version>
  28. <commons.io.version>2.11.0</commons.io.version>
  29. <commons.fileupload.version>1.4</commons.fileupload.version>
  30. <commons.collections.version>3.2.2</commons.collections.version>
  31. <poi.version>4.1.2</poi.version>
  32. <velocity.version>1.7</velocity.version>
  33. <jwt.version>0.9.1</jwt.version>
  34. <fastjson.version>1.2.83</fastjson.version>
  35. <okhttp3.version>4.1.0</okhttp3.version>
  36. <quartz.version>2.3.2</quartz.version>
  37. <postgresql.version>42.2.23</postgresql.version>
  38. <flyway.version>5.2.4</flyway.version>
  39. <jodconverter.version>4.2.2</jodconverter.version>
  40. </properties>
  41. <repositories>
  42. <repository>
  43. <id>osgeo</id>
  44. <name>OSGeo Release Repository</name>
  45. <url>https://repo.osgeo.org/repository/release/</url>
  46. <snapshots>
  47. <enabled>false</enabled>
  48. </snapshots>
  49. <releases>
  50. <enabled>true</enabled>
  51. </releases>
  52. </repository>
  53. <repository>
  54. <id>aliyun</id>
  55. <url>https://maven.aliyun.com/repository/public</url>
  56. </repository>
  57. <repository>
  58. <id>ignite-repo</id>
  59. <url>http://www.gridgainsystems.com/nexus/content/repositories/external/</url>
  60. </repository>
  61. <repository>
  62. <id>spring-milestones</id>
  63. <name>Spring Milestones</name>
  64. <url>https://repo.spring.io/milestone</url>
  65. <snapshots>
  66. <enabled>false</enabled>
  67. </snapshots>
  68. </repository>
  69. </repositories>
  70. <dependencies>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter</artifactId>
  74. </dependency>
  75. <!-- SpringBoot Web容器 -->
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-web</artifactId>
  79. </dependency>
  80. <!-- SpringBoot 拦截器 -->
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-aop</artifactId>
  84. </dependency>
  85. <!-- spring security 安全认证 -->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-security</artifactId>
  89. </dependency>
  90. <!-- websocket-->
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-websocket</artifactId>
  94. </dependency>
  95. <!-- 验证注解 -->
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-validation</artifactId>
  99. </dependency>
  100. <!-- oauth2认证- -->
  101. <dependency>
  102. <groupId>org.springframework.security</groupId>
  103. <artifactId>spring-security-jwt</artifactId>
  104. <version>1.0.10.RELEASE</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.security.oauth</groupId>
  108. <artifactId>spring-security-oauth2</artifactId>
  109. <version>2.3.6.RELEASE</version>
  110. </dependency>
  111. <!-- log4J -->
  112. <!-- <dependency>-->
  113. <!-- <groupId>org.apache.logging.log4j</groupId>-->
  114. <!-- <artifactId>log4j-api</artifactId>-->
  115. <!-- <version>${log4j.version}</version>-->
  116. <!-- </dependency>-->
  117. <!-- <dependency>-->
  118. <!-- <groupId>org.apache.logging.log4j</groupId>-->
  119. <!-- <artifactId>log4j-to-slf4j</artifactId>-->
  120. <!-- <version>${log4j.version}</version>-->
  121. <!-- </dependency>-->
  122. <!-- 视频转码 -->
  123. <dependency>
  124. <groupId>org.bytedeco</groupId>
  125. <artifactId>javacv</artifactId>
  126. <version>1.5.4</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.bytedeco</groupId>
  130. <artifactId>ffmpeg-platform</artifactId>
  131. <version>4.3.1-1.5.4</version>
  132. </dependency>
  133. <!-- 解析客户端操作系统、浏览器等 -->
  134. <dependency>
  135. <groupId>eu.bitwalker</groupId>
  136. <artifactId>UserAgentUtils</artifactId>
  137. <version>${bitwalker.version}</version>
  138. </dependency>
  139. <!-- 获取系统信息 -->
  140. <dependency>
  141. <groupId>com.github.oshi</groupId>
  142. <artifactId>oshi-core</artifactId>
  143. <version>${oshi.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>net.java.dev.jna</groupId>
  147. <artifactId>jna</artifactId>
  148. <version>${jna.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>net.java.dev.jna</groupId>
  152. <artifactId>jna-platform</artifactId>
  153. <version>${jna.version}</version>
  154. </dependency>
  155. <!-- postgresql驱动包 -->
  156. <dependency>
  157. <groupId>org.postgresql</groupId>
  158. <artifactId>postgresql</artifactId>
  159. <version>${postgresql.version}</version>
  160. </dependency>
  161. <!--数据库迁移-->
  162. <dependency>
  163. <groupId>org.flywaydb</groupId>
  164. <artifactId>flyway-core</artifactId>
  165. <version>${flyway.version}</version>
  166. </dependency>
  167. <!-- SpringBoot集成mybatis框架 -->
  168. <dependency>
  169. <groupId>org.mybatis.spring.boot</groupId>
  170. <artifactId>mybatis-spring-boot-starter</artifactId>
  171. <version>${mybatis-spring-boot.version}</version>
  172. </dependency>
  173. <!-- pagehelper 分页插件 -->
  174. <dependency>
  175. <groupId>com.github.pagehelper</groupId>
  176. <artifactId>pagehelper-spring-boot-starter</artifactId>
  177. <version>${pagehelper.boot.version}</version>
  178. </dependency>
  179. <!-- redis 缓存操作 -->
  180. <dependency>
  181. <groupId>org.springframework.boot</groupId>
  182. <artifactId>spring-boot-starter-data-redis</artifactId>
  183. </dependency>
  184. <!-- 验证码 -->
  185. <dependency>
  186. <groupId>com.github.penggle</groupId>
  187. <artifactId>kaptcha</artifactId>
  188. <version>${kaptcha.version}</version>
  189. </dependency>
  190. <!-- Swagger3依赖 -->
  191. <dependency>
  192. <groupId>io.springfox</groupId>
  193. <artifactId>springfox-boot-starter</artifactId>
  194. <version>${swagger.version}</version>
  195. <exclusions>
  196. <exclusion>
  197. <groupId>io.swagger</groupId>
  198. <artifactId>swagger-models</artifactId>
  199. </exclusion>
  200. </exclusions>
  201. </dependency>
  202. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  203. <dependency>
  204. <groupId>io.swagger</groupId>
  205. <artifactId>swagger-models</artifactId>
  206. <version>1.6.2</version>
  207. </dependency>
  208. <!-- yml工具类 -->
  209. <dependency>
  210. <groupId>org.yaml</groupId>
  211. <artifactId>snakeyaml</artifactId>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.squareup.okhttp3</groupId>
  215. <artifactId>okhttp</artifactId>
  216. <version>${okhttp3.version}</version>
  217. </dependency>
  218. <!-- 定时任务 -->
  219. <dependency>
  220. <groupId>org.quartz-scheduler</groupId>
  221. <artifactId>quartz</artifactId>
  222. <version>${quartz.version}</version>
  223. <exclusions>
  224. <exclusion>
  225. <groupId>com.mchange</groupId>
  226. <artifactId>c3p0</artifactId>
  227. </exclusion>
  228. </exclusions>
  229. </dependency>
  230. <!-- io常用工具类 -->
  231. <dependency>
  232. <groupId>commons-io</groupId>
  233. <artifactId>commons-io</artifactId>
  234. <version>${commons.io.version}</version>
  235. </dependency>
  236. <!--常用工具类 -->
  237. <dependency>
  238. <groupId>org.apache.commons</groupId>
  239. <artifactId>commons-lang3</artifactId>
  240. </dependency>
  241. <!-- 文件上传工具类 -->
  242. <dependency>
  243. <groupId>commons-fileupload</groupId>
  244. <artifactId>commons-fileupload</artifactId>
  245. <version>${commons.fileupload.version}</version>
  246. </dependency>
  247. <!-- velocity代码生成使用模板 -->
  248. <dependency>
  249. <groupId>org.apache.velocity</groupId>
  250. <artifactId>velocity</artifactId>
  251. <version>${velocity.version}</version>
  252. <exclusions>
  253. <exclusion>
  254. <groupId>commons-collections</groupId>
  255. <artifactId>commons-collections</artifactId>
  256. </exclusion>
  257. </exclusions>
  258. </dependency>
  259. <!-- collections工具类 -->
  260. <dependency>
  261. <groupId>commons-collections</groupId>
  262. <artifactId>commons-collections</artifactId>
  263. <version>${commons.collections.version}</version>
  264. </dependency>
  265. <!-- office文档操作工具 -->
  266. <dependency>
  267. <groupId>org.apache.poi</groupId>
  268. <artifactId>poi-ooxml</artifactId>
  269. <version>${poi.version}</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.apache.poi</groupId>
  273. <artifactId>poi-scratchpad</artifactId>
  274. <version>${poi.version}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.apache.poi</groupId>
  278. <artifactId>ooxml-schemas</artifactId>
  279. <version>1.4</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>com.deepoove</groupId>
  283. <artifactId>poi-tl</artifactId>
  284. <version>1.10.2</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>com.alibaba</groupId>
  288. <artifactId>easyexcel</artifactId>
  289. <version>3.0.5</version>
  290. </dependency>
  291. <!-- fastjson-->
  292. <dependency>
  293. <groupId>com.alibaba</groupId>
  294. <artifactId>fastjson</artifactId>
  295. <version>1.2.83</version>
  296. </dependency>
  297. <!--html渲染插件-->
  298. <dependency>
  299. <groupId>io.github.draco1023</groupId>
  300. <artifactId>poi-tl-ext</artifactId>
  301. <version>0.3.11</version>
  302. <exclusions>
  303. <exclusion>
  304. <groupId>com.deepoove</groupId>
  305. <artifactId>poi-tl</artifactId>
  306. </exclusion>
  307. <exclusion>
  308. <groupId>org.apache.poi</groupId>
  309. <artifactId>ooxml-schemas</artifactId>
  310. </exclusion>
  311. </exclusions>
  312. </dependency>
  313. <!--海康视频调阅-->
  314. <dependency>
  315. <groupId>com.hikvision.ga</groupId>
  316. <artifactId>artemis-http-client</artifactId>
  317. <version>1.1.3</version>
  318. </dependency>
  319. <!--字符转义-->
  320. <dependency>
  321. <groupId>org.apache.commons</groupId>
  322. <artifactId>commons-text</artifactId>
  323. <version>1.9</version>
  324. </dependency>
  325. <!-- openOffice 和 jobconverter-->
  326. <dependency>
  327. <groupId>org.jodconverter</groupId>
  328. <artifactId>jodconverter-core</artifactId>
  329. <version>${jodconverter.version}</version>
  330. </dependency>
  331. <dependency>
  332. <groupId>org.jodconverter</groupId>
  333. <artifactId>jodconverter-spring-boot-starter</artifactId>
  334. <version>${jodconverter.version}</version>
  335. </dependency>
  336. <dependency>
  337. <groupId>org.jodconverter</groupId>
  338. <artifactId>jodconverter-local</artifactId>
  339. <version>${jodconverter.version}</version>
  340. </dependency>
  341. <dependency>
  342. <groupId>javax.xml.bind</groupId>
  343. <artifactId>jaxb-api</artifactId>
  344. </dependency>
  345. </dependencies>
  346. <build>
  347. <plugins>
  348. <plugin>
  349. <groupId>org.springframework.boot</groupId>
  350. <artifactId>spring-boot-maven-plugin</artifactId>
  351. <configuration>
  352. <executable>true</executable>
  353. </configuration>
  354. </plugin>
  355. <plugin>
  356. <groupId>org.apache.maven.plugins</groupId>
  357. <artifactId>maven-resources-plugin</artifactId>
  358. <configuration>
  359. <nonFilteredFileExtensions>
  360. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  361. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  362. <nonFilteredFileExtension>zip</nonFilteredFileExtension>
  363. <nonFilteredFileExtension>cer</nonFilteredFileExtension>
  364. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  365. <nonFilteredFileExtension>py</nonFilteredFileExtension>
  366. <nonFilteredFileExtension>doc</nonFilteredFileExtension>
  367. <nonFilteredFileExtension>docx</nonFilteredFileExtension>
  368. <nonFilteredFileExtension>keystore</nonFilteredFileExtension>
  369. </nonFilteredFileExtensions>
  370. </configuration>
  371. </plugin>
  372. <plugin>
  373. <groupId>org.apache.maven.plugins</groupId>
  374. <artifactId>maven-compiler-plugin</artifactId>
  375. <configuration>
  376. <source>${java.version}</source>
  377. <target>${java.version}</target>
  378. <encoding>${project.build.sourceEncoding}</encoding>
  379. </configuration>
  380. <executions>
  381. <!-- 替换会被 maven 特别处理的 default-compile -->
  382. <execution>
  383. <id>default-compile</id>
  384. <phase>none</phase>
  385. </execution>
  386. <!-- 替换会被 maven 特别处理的 default-testCompile -->
  387. <execution>
  388. <id>default-testCompile</id>
  389. <phase>none</phase>
  390. </execution>
  391. <execution>
  392. <id>java-compile</id>
  393. <phase>compile</phase>
  394. <goals>
  395. <goal>compile</goal>
  396. </goals>
  397. </execution>
  398. <execution>
  399. <id>java-test-compile</id>
  400. <phase>test-compile</phase>
  401. <goals>
  402. <goal>testCompile</goal>
  403. </goals>
  404. </execution>
  405. </executions>
  406. </plugin>
  407. </plugins>
  408. </build>
  409. </project>