pom.xml 13 KB

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