pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.ztmap</groupId>
  6. <artifactId>zhny_admin</artifactId>
  7. <version>2.0.0</version>
  8. <packaging>jar</packaging>
  9. <name>zhny_admin</name>
  10. <url></url>
  11. <description>智慧能源后台管理平台</description>
  12. <parent>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-starter-parent</artifactId>
  15. <version>2.2.13.RELEASE</version>
  16. <relativePath />
  17. </parent>
  18. <properties>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  21. <java.version>1.8</java.version>
  22. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  23. <shiro.version>1.7.1</shiro.version>
  24. <thymeleaf.extras.shiro.version>2.0.0</thymeleaf.extras.shiro.version>
  25. <mybatis.spring.boot.starter.version>2.1.4</mybatis.spring.boot.starter.version>
  26. <pagehelper.spring.boot.starter.version>1.3.0</pagehelper.spring.boot.starter.version>
  27. <fastjson.version>1.2.75</fastjson.version>
  28. <druid.version>1.2.4</druid.version>
  29. <commons.io.version>2.5</commons.io.version>
  30. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  31. <bitwalker.version>1.21</bitwalker.version>
  32. <velocity.version>1.7</velocity.version>
  33. <kaptcha.version>2.3.2</kaptcha.version>
  34. <swagger.version>2.9.2</swagger.version>
  35. <poi.version>4.1.2</poi.version>
  36. <oshi.version>5.6.0</oshi.version>
  37. <jna.version>5.7.0</jna.version>
  38. </properties>
  39. <dependencies>
  40. <dependency>
  41. <groupId>com.google.code.gson</groupId>
  42. <artifactId>gson</artifactId>
  43. <version>2.8.0</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.locationtech.jts</groupId>
  47. <artifactId>jts-core</artifactId>
  48. <version>1.18.2</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.gavaghan</groupId>
  52. <artifactId>geodesy</artifactId>
  53. <version>1.1.3</version>
  54. </dependency>
  55. <!-- SpringBoot 核心包 -->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter</artifactId>
  59. </dependency>
  60. <!-- SpringBoot 测试 -->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-test</artifactId>
  64. <scope>test</scope>
  65. </dependency>
  66. <!-- SpringBoot 拦截器 -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-aop</artifactId>
  70. </dependency>
  71. <!-- SpringBoot Web容器 -->
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-web</artifactId>
  75. </dependency>
  76. <!-- SpringBoot集成thymeleaf模板 -->
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  80. </dependency>
  81. <!-- spring-boot-devtools -->
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-devtools</artifactId>
  85. <optional>true</optional> <!-- 表示依赖不会传递 -->
  86. </dependency>
  87. <!-- 计算两个坐标距离数 -->
  88. <dependency>
  89. <groupId>org.gavaghan</groupId>
  90. <artifactId>geodesy</artifactId>
  91. <version>1.1.3</version>
  92. </dependency>
  93. <!-- Mysql驱动包 -->
  94. <dependency>
  95. <groupId>mysql</groupId>
  96. <artifactId>mysql-connector-java</artifactId>
  97. </dependency>
  98. <!-- SpringBoot集成mybatis框架 -->
  99. <dependency>
  100. <groupId>org.mybatis.spring.boot</groupId>
  101. <artifactId>mybatis-spring-boot-starter</artifactId>
  102. <version>${mybatis.spring.boot.starter.version}</version>
  103. </dependency>
  104. <!-- pagehelper 分页插件 -->
  105. <dependency>
  106. <groupId>com.github.pagehelper</groupId>
  107. <artifactId>pagehelper-spring-boot-starter</artifactId>
  108. <version>${pagehelper.spring.boot.starter.version}</version>
  109. </dependency>
  110. <!--阿里数据库连接池 -->
  111. <dependency>
  112. <groupId>com.alibaba</groupId>
  113. <artifactId>druid-spring-boot-starter</artifactId>
  114. <version>${druid.version}</version>
  115. </dependency>
  116. <!--常用工具类 -->
  117. <dependency>
  118. <groupId>org.apache.commons</groupId>
  119. <artifactId>commons-lang3</artifactId>
  120. </dependency>
  121. <dependency>
  122. <groupId>cn.hutool</groupId>
  123. <artifactId>hutool-all</artifactId>
  124. <version>4.1.12</version>
  125. </dependency>
  126. <!--io常用工具类 -->
  127. <dependency>
  128. <groupId>commons-io</groupId>
  129. <artifactId>commons-io</artifactId>
  130. <version>${commons.io.version}</version>
  131. </dependency>
  132. <!--文件上传工具类 -->
  133. <dependency>
  134. <groupId>commons-fileupload</groupId>
  135. <artifactId>commons-fileupload</artifactId>
  136. <version>${commons.fileupload.version}</version>
  137. </dependency>
  138. <!--Shiro核心框架 -->
  139. <dependency>
  140. <groupId>org.apache.shiro</groupId>
  141. <artifactId>shiro-core</artifactId>
  142. <version>${shiro.version}</version>
  143. </dependency>
  144. <!-- Shiro使用Spring框架 -->
  145. <dependency>
  146. <groupId>org.apache.shiro</groupId>
  147. <artifactId>shiro-spring</artifactId>
  148. <version>${shiro.version}</version>
  149. </dependency>
  150. <!-- Shiro使用EhCache缓存框架 -->
  151. <dependency>
  152. <groupId>org.apache.shiro</groupId>
  153. <artifactId>shiro-ehcache</artifactId>
  154. <version>${shiro.version}</version>
  155. </dependency>
  156. <!-- thymeleaf模板引擎和shiro框架的整合 -->
  157. <dependency>
  158. <groupId>com.github.theborakompanioni</groupId>
  159. <artifactId>thymeleaf-extras-shiro</artifactId>
  160. <version>${thymeleaf.extras.shiro.version}</version>
  161. </dependency>
  162. <!-- 阿里JSON解析器 -->
  163. <dependency>
  164. <groupId>com.alibaba</groupId>
  165. <artifactId>fastjson</artifactId>
  166. <version>${fastjson.version}</version>
  167. </dependency>
  168. <!-- redis 缓存操作 -->
  169. <dependency>
  170. <groupId>org.springframework.boot</groupId>
  171. <artifactId>spring-boot-starter-data-redis</artifactId>
  172. </dependency>
  173. <!--Token生成与解析-->
  174. <dependency>
  175. <groupId>io.jsonwebtoken</groupId>
  176. <artifactId>jjwt</artifactId>
  177. <version>0.9.1</version>
  178. </dependency>
  179. <!-- 解析客户端操作系统、浏览器等 -->
  180. <dependency>
  181. <groupId>eu.bitwalker</groupId>
  182. <artifactId>UserAgentUtils</artifactId>
  183. <version>${bitwalker.version}</version>
  184. </dependency>
  185. <!--Spring框架基本的核心工具-->
  186. <dependency>
  187. <groupId>org.springframework</groupId>
  188. <artifactId>spring-context-support</artifactId>
  189. </dependency>
  190. <!-- modbus -->
  191. <dependency>
  192. <groupId>com.digitalpetri.modbus</groupId>
  193. <artifactId>modbus-master-tcp</artifactId>
  194. <version>1.1.0</version>
  195. </dependency>
  196. <!-- <dependency>-->
  197. <!-- <groupId>com.infiniteautomation</groupId>-->
  198. <!-- <artifactId>modbus4j</artifactId>-->
  199. <!-- <version>3.0.3</version>-->
  200. <!-- </dependency>-->
  201. <!-- 定时任务 -->
  202. <dependency>
  203. <groupId>org.quartz-scheduler</groupId>
  204. <artifactId>quartz</artifactId>
  205. <exclusions>
  206. <exclusion>
  207. <groupId>com.mchange</groupId>
  208. <artifactId>c3p0</artifactId>
  209. </exclusion>
  210. </exclusions>
  211. </dependency>
  212. <!--velocity代码生成使用模板 -->
  213. <dependency>
  214. <groupId>org.apache.velocity</groupId>
  215. <artifactId>velocity</artifactId>
  216. <version>${velocity.version}</version>
  217. <exclusions>
  218. <exclusion>
  219. <groupId>commons-collections</groupId>
  220. <artifactId>commons-collections</artifactId>
  221. </exclusion>
  222. </exclusions>
  223. </dependency>
  224. <!--验证码 -->
  225. <dependency>
  226. <groupId>com.github.penggle</groupId>
  227. <artifactId>kaptcha</artifactId>
  228. <version>${kaptcha.version}</version>
  229. <exclusions>
  230. <exclusion>
  231. <artifactId>javax.servlet-api</artifactId>
  232. <groupId>javax.servlet</groupId>
  233. </exclusion>
  234. </exclusions>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.jsoup</groupId>
  238. <artifactId>jsoup</artifactId>
  239. <version>1.13.1</version>
  240. </dependency>
  241. <!-- swagger2-->
  242. <dependency>
  243. <groupId>io.springfox</groupId>
  244. <artifactId>springfox-swagger2</artifactId>
  245. <version>${swagger.version}</version>
  246. <exclusions>
  247. <exclusion>
  248. <groupId>io.swagger</groupId>
  249. <artifactId>swagger-annotations</artifactId>
  250. </exclusion>
  251. <exclusion>
  252. <groupId>io.swagger</groupId>
  253. <artifactId>swagger-models</artifactId>
  254. </exclusion>
  255. </exclusions>
  256. </dependency>
  257. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  258. <dependency>
  259. <groupId>io.swagger</groupId>
  260. <artifactId>swagger-annotations</artifactId>
  261. <version>1.5.21</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>io.swagger</groupId>
  265. <artifactId>swagger-models</artifactId>
  266. <version>1.5.21</version>
  267. </dependency>
  268. <!-- swagger2-UI-->
  269. <dependency>
  270. <groupId>io.springfox</groupId>
  271. <artifactId>springfox-swagger-ui</artifactId>
  272. <version>${swagger.version}</version>
  273. </dependency>
  274. <!-- 获取系统信息 -->
  275. <dependency>
  276. <groupId>com.github.oshi</groupId>
  277. <artifactId>oshi-core</artifactId>
  278. <version>${oshi.version}</version>
  279. </dependency>
  280. <!-- excel工具 -->
  281. <dependency>
  282. <groupId>org.apache.poi</groupId>
  283. <artifactId>poi-ooxml</artifactId>
  284. <version>${poi.version}</version>
  285. </dependency>
  286. <!-- 海康综合安防管理平台 -->
  287. <dependency>
  288. <groupId>com.hikvision.ga</groupId>
  289. <artifactId>artemis-http-client</artifactId>
  290. <version>1.1.3</version>
  291. </dependency>
  292. <!-- geotools相关pom -->
  293. <dependency>
  294. <groupId>com.vividsolutions</groupId>
  295. <artifactId>jts</artifactId>
  296. <version>1.13</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.gdal</groupId>
  300. <artifactId>gdal</artifactId>
  301. <version>3.2.0</version>
  302. </dependency>
  303. <!--<dependency>
  304. <groupId>org.geotools</groupId>
  305. <artifactId>gt-epsg-hsql</artifactId>
  306. <version>20.0</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>org.geotools</groupId>
  310. <artifactId>gt-main</artifactId>
  311. <version>20.0</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>org.geotools</groupId>
  315. <artifactId>gt-cql</artifactId>
  316. <version>20.0</version>
  317. </dependency>
  318. <dependency>
  319. <groupId>org.geotools</groupId>
  320. <artifactId>gt-shapefile</artifactId>
  321. <version>20.0</version>
  322. </dependency>
  323. <dependency>
  324. <groupId>org.geotools</groupId>
  325. <artifactId>gt-opengis</artifactId>
  326. <version>20.0</version>
  327. </dependency>-->
  328. </dependencies>
  329. <build>
  330. <finalName>${project.artifactId}</finalName>
  331. <plugins>
  332. <plugin>
  333. <groupId>org.springframework.boot</groupId>
  334. <artifactId>spring-boot-maven-plugin</artifactId>
  335. <configuration>
  336. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  337. </configuration>
  338. </plugin>
  339. </plugins>
  340. </build>
  341. <repositories>
  342. <repository>
  343. <id>public</id>
  344. <name>aliyun nexus</name>
  345. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  346. <releases>
  347. <enabled>true</enabled>
  348. </releases>
  349. </repository>
  350. </repositories>
  351. <pluginRepositories>
  352. <pluginRepository>
  353. <id>public</id>
  354. <name>aliyun nexus</name>
  355. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  356. <releases>
  357. <enabled>true</enabled>
  358. </releases>
  359. <snapshots>
  360. <enabled>false</enabled>
  361. </snapshots>
  362. </pluginRepository>
  363. </pluginRepositories>
  364. </project>