pom.xml 13 KB

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