pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  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.goer</groupId>
  6. <artifactId>goer</artifactId>
  7. <version>1.0.0</version>
  8. <packaging>jar</packaging>
  9. <name>goer</name>
  10. <url>http://www.goer.vip</url>
  11. <description>GOER系统</description>
  12. <parent>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-starter-parent</artifactId>
  15. <version>2.5.8</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.8.0</shiro.version>
  24. <thymeleaf.extras.shiro.version>2.1.0</thymeleaf.extras.shiro.version>
  25. <mybatis.spring.boot.starter.version>2.2.0</mybatis.spring.boot.starter.version>
  26. <pagehelper.spring.boot.starter.version>1.4.0</pagehelper.spring.boot.starter.version>
  27. <fastjson.version>1.2.79</fastjson.version>
  28. <druid.version>1.2.8</druid.version>
  29. <commons.io.version>2.11.0</commons.io.version>
  30. <commons.fileupload.version>1.4</commons.fileupload.version>
  31. <bitwalker.version>1.21</bitwalker.version>
  32. <velocity.version>2.3</velocity.version>
  33. <kaptcha.version>2.3.2</kaptcha.version>
  34. <swagger.version>3.0.0</swagger.version>
  35. <poi.version>4.1.2</poi.version>
  36. <oshi.version>5.8.6</oshi.version>
  37. <jna.version>5.10.0</jna.version>
  38. <log4j2.version>2.17.1</log4j2.version>
  39. <lombok.version>1.16.18</lombok.version>
  40. <hsqldb.version>2.5.0</hsqldb.version>
  41. </properties>
  42. <dependencies>
  43. <!-- SpringBoot 核心包 -->
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter</artifactId>
  47. </dependency>
  48. <!-- SpringBoot 测试 -->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-test</artifactId>
  52. <scope>test</scope>
  53. </dependency>
  54. <!-- SpringBoot 拦截器 -->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-aop</artifactId>
  58. </dependency>
  59. <!-- SpringBoot Web容器 -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-web</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.google.zxing</groupId>
  66. <artifactId>core</artifactId>
  67. <version>3.4.0</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.google.zxing</groupId>
  71. <artifactId>javase</artifactId>
  72. <version>3.4.0</version>
  73. </dependency>
  74. <!-- SpringBoot集成thymeleaf模板 -->
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  78. </dependency>
  79. <!-- spring-boot-devtools -->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-devtools</artifactId>
  83. <optional>true</optional> <!-- 表示依赖不会传递 -->
  84. </dependency>
  85. <!-- Mysql驱动包 -->
  86. <!-- MySQL 8 官方驱动,新版 -->
  87. <dependency>
  88. <groupId>com.mysql</groupId>
  89. <artifactId>mysql-connector-j</artifactId>
  90. <version>8.0.33</version>
  91. <scope>runtime</scope>
  92. </dependency>
  93. <!-- SpringBoot集成mybatis框架 -->
  94. <dependency>
  95. <groupId>org.mybatis.spring.boot</groupId>
  96. <artifactId>mybatis-spring-boot-starter</artifactId>
  97. <version>${mybatis.spring.boot.starter.version}</version>
  98. </dependency>
  99. <!-- pagehelper 分页插件 -->
  100. <dependency>
  101. <groupId>com.github.pagehelper</groupId>
  102. <artifactId>pagehelper-spring-boot-starter</artifactId>
  103. <version>${pagehelper.spring.boot.starter.version}</version>
  104. </dependency>
  105. <!-- 阿里数据库连接池 -->
  106. <dependency>
  107. <groupId>com.alibaba</groupId>
  108. <artifactId>druid-spring-boot-starter</artifactId>
  109. <version>${druid.version}</version>
  110. </dependency>
  111. <!-- 自定义验证注解 -->
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-starter-validation</artifactId>
  115. </dependency>
  116. <!-- 常用工具类 -->
  117. <dependency>
  118. <groupId>org.apache.commons</groupId>
  119. <artifactId>commons-lang3</artifactId>
  120. </dependency>
  121. <!-- io常用工具类 -->
  122. <dependency>
  123. <groupId>commons-io</groupId>
  124. <artifactId>commons-io</artifactId>
  125. <version>${commons.io.version}</version>
  126. </dependency>
  127. <!-- 文件上传工具类 -->
  128. <dependency>
  129. <groupId>commons-fileupload</groupId>
  130. <artifactId>commons-fileupload</artifactId>
  131. <version>${commons.fileupload.version}</version>
  132. </dependency>
  133. <!-- Shiro核心框架 -->
  134. <dependency>
  135. <groupId>org.apache.shiro</groupId>
  136. <artifactId>shiro-core</artifactId>
  137. <version>${shiro.version}</version>
  138. </dependency>
  139. <!-- Shiro使用Spring框架 -->
  140. <dependency>
  141. <groupId>org.apache.shiro</groupId>
  142. <artifactId>shiro-spring</artifactId>
  143. <version>${shiro.version}</version>
  144. </dependency>
  145. <!-- Shiro使用EhCache缓存框架 -->
  146. <dependency>
  147. <groupId>org.apache.shiro</groupId>
  148. <artifactId>shiro-ehcache</artifactId>
  149. <version>${shiro.version}</version>
  150. </dependency>
  151. <!-- thymeleaf模板引擎和shiro框架的整合 -->
  152. <dependency>
  153. <groupId>com.github.theborakompanioni</groupId>
  154. <artifactId>thymeleaf-extras-shiro</artifactId>
  155. <version>${thymeleaf.extras.shiro.version}</version>
  156. </dependency>
  157. <!-- 阿里JSON解析器 -->
  158. <dependency>
  159. <groupId>com.alibaba</groupId>
  160. <artifactId>fastjson</artifactId>
  161. <version>${fastjson.version}</version>
  162. </dependency>
  163. <!-- 解析客户端操作系统、浏览器等 -->
  164. <dependency>
  165. <groupId>eu.bitwalker</groupId>
  166. <artifactId>UserAgentUtils</artifactId>
  167. <version>${bitwalker.version}</version>
  168. </dependency>
  169. <!-- Spring框架基本的核心工具 -->
  170. <dependency>
  171. <groupId>org.springframework</groupId>
  172. <artifactId>spring-context-support</artifactId>
  173. </dependency>
  174. <!-- 定时任务 -->
  175. <dependency>
  176. <groupId>org.quartz-scheduler</groupId>
  177. <artifactId>quartz</artifactId>
  178. <exclusions>
  179. <exclusion>
  180. <groupId>com.mchange</groupId>
  181. <artifactId>c3p0</artifactId>
  182. </exclusion>
  183. </exclusions>
  184. </dependency>
  185. <!-- velocity代码生成使用模板 -->
  186. <dependency>
  187. <groupId>org.apache.velocity</groupId>
  188. <artifactId>velocity-engine-core</artifactId>
  189. <version>${velocity.version}</version>
  190. </dependency>
  191. <!-- 验证码 -->
  192. <dependency>
  193. <groupId>com.github.penggle</groupId>
  194. <artifactId>kaptcha</artifactId>
  195. <version>${kaptcha.version}</version>
  196. <exclusions>
  197. <exclusion>
  198. <artifactId>javax.servlet-api</artifactId>
  199. <groupId>javax.servlet</groupId>
  200. </exclusion>
  201. </exclusions>
  202. </dependency>
  203. <!-- Swagger3依赖 -->
  204. <dependency>
  205. <groupId>io.springfox</groupId>
  206. <artifactId>springfox-boot-starter</artifactId>
  207. <version>${swagger.version}</version>
  208. <exclusions>
  209. <exclusion>
  210. <groupId>io.swagger</groupId>
  211. <artifactId>swagger-models</artifactId>
  212. </exclusion>
  213. </exclusions>
  214. </dependency>
  215. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  216. <dependency>
  217. <groupId>io.swagger</groupId>
  218. <artifactId>swagger-models</artifactId>
  219. <version>1.6.2</version>
  220. </dependency>
  221. <!-- 获取系统信息 -->
  222. <dependency>
  223. <groupId>com.github.oshi</groupId>
  224. <artifactId>oshi-core</artifactId>
  225. <version>${oshi.version}</version>
  226. </dependency>
  227. <!-- excel工具 -->
  228. <dependency>
  229. <groupId>org.apache.poi</groupId>
  230. <artifactId>poi-ooxml</artifactId>
  231. <version>${poi.version}</version>
  232. </dependency>
  233. <!-- lombok插件 -->
  234. <dependency>
  235. <groupId>org.projectlombok</groupId>
  236. <artifactId>lombok</artifactId>
  237. <version>1.18.6</version>
  238. <optional>true</optional>
  239. </dependency>
  240. <dependency>
  241. <groupId>com.google.code.gson</groupId>
  242. <artifactId>gson</artifactId>
  243. <version>2.8.2</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>com.kingbase</groupId>
  247. <artifactId>kingbase8</artifactId>
  248. <version>8.6.0</version>
  249. <scope>system</scope>
  250. <systemPath>${project.basedir}/jdbc/kingbase8-8.6.0.jar</systemPath>
  251. </dependency>
  252. <dependency>
  253. <groupId>com.aliyun.odps</groupId>
  254. <artifactId>odps-jdbc</artifactId>
  255. <version>3.2.9</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>joda-time</groupId>
  259. <artifactId>joda-time</artifactId>
  260. <version>2.9.9</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>com.deepoove</groupId>
  264. <artifactId>poi-tl</artifactId>
  265. <version>1.10.0</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>org.dom4j</groupId>
  269. <artifactId>dom4j</artifactId>
  270. <version>2.1.3</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.hsqldb</groupId>
  274. <artifactId>hsqldb</artifactId>
  275. <version>${hsqldb.version}</version>
  276. </dependency>
  277. </dependencies>
  278. <build>
  279. <finalName>${project.artifactId}</finalName>
  280. <plugins>
  281. <plugin>
  282. <groupId>org.springframework.boot</groupId>
  283. <artifactId>spring-boot-maven-plugin</artifactId>
  284. <configuration>
  285. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  286. </configuration>
  287. </plugin>
  288. <!-- YUI Compressor (CSS/JS压缩)
  289. <plugin>
  290. <groupId>net.alchim31.maven</groupId>
  291. <artifactId>yuicompressor-maven-plugin</artifactId>
  292. <version>1.5.1</version>
  293. <executions>
  294. <execution>
  295. <phase>prepare-package</phase>
  296. <goals>
  297. <goal>compress</goal>
  298. </goals>
  299. </execution>
  300. </executions>
  301. <configuration>
  302. <encoding>UTF-8</encoding>
  303. <jswarn>false</jswarn>
  304. <nosuffix>true</nosuffix>
  305. <linebreakpos>50000</linebreakpos>
  306. <sourceDirectory>src/main/resources/static</sourceDirectory>
  307. <force>true</force>
  308. <includes>
  309. <include>**/*.js</include>
  310. <include>**/*.css</include>
  311. </includes>
  312. <excludes>
  313. <exclude>**/*.min.js</exclude>
  314. <exclude>**/*.min.css</exclude>
  315. <exclude>**/fileinput.js</exclude>
  316. <exclude>**/bootstrap-table/**</exclude>
  317. </excludes>
  318. </configuration>
  319. </plugin> -->
  320. </plugins>
  321. </build>
  322. <repositories>
  323. <repository>
  324. <id>public</id>
  325. <name>aliyun nexus</name>
  326. <url>https://maven.aliyun.com/repository/public</url>
  327. <releases>
  328. <enabled>true</enabled>
  329. </releases>
  330. </repository>
  331. </repositories>
  332. <pluginRepositories>
  333. <pluginRepository>
  334. <id>public</id>
  335. <name>aliyun nexus</name>
  336. <url>https://maven.aliyun.com/repository/public</url>
  337. <releases>
  338. <enabled>true</enabled>
  339. </releases>
  340. <snapshots>
  341. <enabled>false</enabled>
  342. </snapshots>
  343. </pluginRepository>
  344. </pluginRepositories>
  345. </project>