pom.xml 13 KB

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