pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  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. <!-- https://mvnrepository.com/artifact/org.mybatis.spring.boot/mybatis-spring-boot-starter -->
  169. <dependency>
  170. <groupId>org.mybatis.spring.boot</groupId>
  171. <artifactId>mybatis-spring-boot-starter</artifactId>
  172. <version>2.2.1</version>
  173. </dependency>
  174. <!-- pagehelper 分页插件 -->
  175. <dependency>
  176. <groupId>com.github.pagehelper</groupId>
  177. <artifactId>pagehelper-spring-boot-starter</artifactId>
  178. <version>${pagehelper.boot.version}</version>
  179. </dependency>
  180. <!-- redis 缓存操作 -->
  181. <dependency>
  182. <groupId>org.springframework.boot</groupId>
  183. <artifactId>spring-boot-starter-data-redis</artifactId>
  184. </dependency>
  185. <!-- 验证码 -->
  186. <dependency>
  187. <groupId>com.github.penggle</groupId>
  188. <artifactId>kaptcha</artifactId>
  189. <version>${kaptcha.version}</version>
  190. </dependency>
  191. <!-- Swagger3依赖 -->
  192. <dependency>
  193. <groupId>io.springfox</groupId>
  194. <artifactId>springfox-boot-starter</artifactId>
  195. <version>${swagger.version}</version>
  196. <exclusions>
  197. <exclusion>
  198. <groupId>io.swagger</groupId>
  199. <artifactId>swagger-models</artifactId>
  200. </exclusion>
  201. </exclusions>
  202. </dependency>
  203. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  204. <dependency>
  205. <groupId>io.swagger</groupId>
  206. <artifactId>swagger-models</artifactId>
  207. <version>1.6.2</version>
  208. </dependency>
  209. <!-- yml工具类 -->
  210. <dependency>
  211. <groupId>org.yaml</groupId>
  212. <artifactId>snakeyaml</artifactId>
  213. </dependency>
  214. <dependency>
  215. <groupId>com.squareup.okhttp3</groupId>
  216. <artifactId>okhttp</artifactId>
  217. <version>${okhttp3.version}</version>
  218. </dependency>
  219. <!-- 定时任务 -->
  220. <dependency>
  221. <groupId>org.quartz-scheduler</groupId>
  222. <artifactId>quartz</artifactId>
  223. <version>${quartz.version}</version>
  224. <exclusions>
  225. <exclusion>
  226. <groupId>com.mchange</groupId>
  227. <artifactId>c3p0</artifactId>
  228. </exclusion>
  229. </exclusions>
  230. </dependency>
  231. <!-- io常用工具类 -->
  232. <dependency>
  233. <groupId>commons-io</groupId>
  234. <artifactId>commons-io</artifactId>
  235. <version>${commons.io.version}</version>
  236. </dependency>
  237. <!--常用工具类 -->
  238. <dependency>
  239. <groupId>org.apache.commons</groupId>
  240. <artifactId>commons-lang3</artifactId>
  241. </dependency>
  242. <!-- 文件上传工具类 -->
  243. <dependency>
  244. <groupId>commons-fileupload</groupId>
  245. <artifactId>commons-fileupload</artifactId>
  246. <version>${commons.fileupload.version}</version>
  247. </dependency>
  248. <!-- velocity代码生成使用模板 -->
  249. <dependency>
  250. <groupId>org.apache.velocity</groupId>
  251. <artifactId>velocity</artifactId>
  252. <version>${velocity.version}</version>
  253. <exclusions>
  254. <exclusion>
  255. <groupId>commons-collections</groupId>
  256. <artifactId>commons-collections</artifactId>
  257. </exclusion>
  258. </exclusions>
  259. </dependency>
  260. <!-- collections工具类 -->
  261. <dependency>
  262. <groupId>commons-collections</groupId>
  263. <artifactId>commons-collections</artifactId>
  264. <version>${commons.collections.version}</version>
  265. </dependency>
  266. <!-- office文档操作工具 -->
  267. <dependency>
  268. <groupId>org.apache.poi</groupId>
  269. <artifactId>poi-ooxml</artifactId>
  270. <version>${poi.version}</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.apache.poi</groupId>
  274. <artifactId>poi-scratchpad</artifactId>
  275. <version>${poi.version}</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>org.apache.poi</groupId>
  279. <artifactId>ooxml-schemas</artifactId>
  280. <version>1.4</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>com.deepoove</groupId>
  284. <artifactId>poi-tl</artifactId>
  285. <version>1.10.2</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>com.alibaba</groupId>
  289. <artifactId>easyexcel</artifactId>
  290. <version>3.0.5</version>
  291. </dependency>
  292. <!-- fastjson-->
  293. <dependency>
  294. <groupId>com.alibaba</groupId>
  295. <artifactId>fastjson</artifactId>
  296. <version>1.2.83</version>
  297. </dependency>
  298. <!--html渲染插件-->
  299. <dependency>
  300. <groupId>io.github.draco1023</groupId>
  301. <artifactId>poi-tl-ext</artifactId>
  302. <version>0.3.11</version>
  303. <exclusions>
  304. <exclusion>
  305. <groupId>com.deepoove</groupId>
  306. <artifactId>poi-tl</artifactId>
  307. </exclusion>
  308. <exclusion>
  309. <groupId>org.apache.poi</groupId>
  310. <artifactId>ooxml-schemas</artifactId>
  311. </exclusion>
  312. </exclusions>
  313. </dependency>
  314. <!--海康视频调阅-->
  315. <dependency>
  316. <groupId>com.hikvision.ga</groupId>
  317. <artifactId>artemis-http-client</artifactId>
  318. <version>1.1.3</version>
  319. </dependency>
  320. <!--字符转义-->
  321. <dependency>
  322. <groupId>org.apache.commons</groupId>
  323. <artifactId>commons-text</artifactId>
  324. <version>1.9</version>
  325. </dependency>
  326. <!-- openOffice 和 jobconverter-->
  327. <dependency>
  328. <groupId>org.jodconverter</groupId>
  329. <artifactId>jodconverter-core</artifactId>
  330. <version>${jodconverter.version}</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>org.jodconverter</groupId>
  334. <artifactId>jodconverter-spring-boot-starter</artifactId>
  335. <version>${jodconverter.version}</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>org.jodconverter</groupId>
  339. <artifactId>jodconverter-local</artifactId>
  340. <version>${jodconverter.version}</version>
  341. </dependency>
  342. <dependency>
  343. <groupId>javax.xml.bind</groupId>
  344. <artifactId>jaxb-api</artifactId>
  345. </dependency>
  346. <dependency>
  347. <groupId>org.locationtech.jts</groupId>
  348. <artifactId>jts-core</artifactId>
  349. <version>1.18.2</version> <!-- 请检查是否有更新的版本 -->
  350. </dependency>
  351. </dependencies>
  352. <build>
  353. <plugins>
  354. <plugin>
  355. <groupId>org.springframework.boot</groupId>
  356. <artifactId>spring-boot-maven-plugin</artifactId>
  357. <configuration>
  358. <executable>true</executable>
  359. </configuration>
  360. </plugin>
  361. <plugin>
  362. <groupId>org.apache.maven.plugins</groupId>
  363. <artifactId>maven-resources-plugin</artifactId>
  364. <configuration>
  365. <nonFilteredFileExtensions>
  366. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  367. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  368. <nonFilteredFileExtension>zip</nonFilteredFileExtension>
  369. <nonFilteredFileExtension>cer</nonFilteredFileExtension>
  370. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  371. <nonFilteredFileExtension>py</nonFilteredFileExtension>
  372. <nonFilteredFileExtension>doc</nonFilteredFileExtension>
  373. <nonFilteredFileExtension>docx</nonFilteredFileExtension>
  374. <nonFilteredFileExtension>keystore</nonFilteredFileExtension>
  375. </nonFilteredFileExtensions>
  376. </configuration>
  377. </plugin>
  378. <plugin>
  379. <groupId>org.apache.maven.plugins</groupId>
  380. <artifactId>maven-compiler-plugin</artifactId>
  381. <configuration>
  382. <source>${java.version}</source>
  383. <target>${java.version}</target>
  384. <encoding>${project.build.sourceEncoding}</encoding>
  385. </configuration>
  386. <executions>
  387. <!-- 替换会被 maven 特别处理的 default-compile -->
  388. <execution>
  389. <id>default-compile</id>
  390. <phase>none</phase>
  391. </execution>
  392. <!-- 替换会被 maven 特别处理的 default-testCompile -->
  393. <execution>
  394. <id>default-testCompile</id>
  395. <phase>none</phase>
  396. </execution>
  397. <execution>
  398. <id>java-compile</id>
  399. <phase>compile</phase>
  400. <goals>
  401. <goal>compile</goal>
  402. </goals>
  403. </execution>
  404. <execution>
  405. <id>java-test-compile</id>
  406. <phase>test-compile</phase>
  407. <goals>
  408. <goal>testCompile</goal>
  409. </goals>
  410. </execution>
  411. </executions>
  412. </plugin>
  413. </plugins>
  414. </build>
  415. </project>