pom.xml 17 KB

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