pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  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.xingxi</groupId>
  6. <artifactId>xingxi</artifactId>
  7. <version>4.7.9</version>
  8. <name>xingxi</name>
  9. <url>http://www.ruoyi.vip</url>
  10. <description>馨禧管理系统</description>
  11. <properties>
  12. <xingxi.version>4.7.9</xingxi.version>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <java.version>1.8</java.version>
  16. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  17. <spring-boot.version>2.5.15</spring-boot.version>
  18. <shiro.version>1.13.0</shiro.version>
  19. <thymeleaf.extras.shiro.version>2.1.0</thymeleaf.extras.shiro.version>
  20. <druid.version>1.2.23</druid.version>
  21. <bitwalker.version>1.21</bitwalker.version>
  22. <kaptcha.version>2.3.3</kaptcha.version>
  23. <swagger.version>3.0.0</swagger.version>
  24. <mybatis-spring-boot.version>2.2.0</mybatis-spring-boot.version>
  25. <pagehelper.boot.version>1.4.7</pagehelper.boot.version>
  26. <fastjson.version>1.2.83</fastjson.version>
  27. <oshi.version>6.6.5</oshi.version>
  28. <lombok.version>1.18.22</lombok.version>
  29. <commons.io.version>2.16.1</commons.io.version>
  30. <poi.version>4.1.2</poi.version>
  31. <velocity.version>2.3</velocity.version>
  32. <commons.httpclient.version>3.1</commons.httpclient.version>
  33. <guava.version>29.0-jre</guava.version>
  34. <!-- override dependency version -->
  35. <tomcat.version>9.0.96</tomcat.version>
  36. <logback.version>1.2.13</logback.version>
  37. <spring-framework.version>5.3.39</spring-framework.version>
  38. <oss-client.version>3.10.2</oss-client.version>
  39. <wechatpay.version>4.5.6.B</wechatpay.version>
  40. </properties>
  41. <!-- 依赖声明 -->
  42. <dependencyManagement>
  43. <dependencies>
  44. <!-- 覆盖SpringFramework的依赖配置-->
  45. <dependency>
  46. <groupId>org.springframework</groupId>
  47. <artifactId>spring-framework-bom</artifactId>
  48. <version>${spring-framework.version}</version>
  49. <type>pom</type>
  50. <scope>import</scope>
  51. </dependency>
  52. <!-- SpringBoot的依赖配置-->
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-dependencies</artifactId>
  56. <version>${spring-boot.version}</version>
  57. <type>pom</type>
  58. <scope>import</scope>
  59. </dependency>
  60. <!-- 覆盖logback的依赖配置-->
  61. <dependency>
  62. <groupId>ch.qos.logback</groupId>
  63. <artifactId>logback-core</artifactId>
  64. <version>${logback.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>ch.qos.logback</groupId>
  68. <artifactId>logback-classic</artifactId>
  69. <version>${logback.version}</version>
  70. </dependency>
  71. <!-- 覆盖tomcat的依赖配置-->
  72. <dependency>
  73. <groupId>org.apache.tomcat.embed</groupId>
  74. <artifactId>tomcat-embed-core</artifactId>
  75. <version>${tomcat.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.tomcat.embed</groupId>
  79. <artifactId>tomcat-embed-el</artifactId>
  80. <version>${tomcat.version}</version>
  81. </dependency>
  82. <!-- SpringBoot集成mybatis框架 -->
  83. <dependency>
  84. <groupId>org.mybatis.spring.boot</groupId>
  85. <artifactId>mybatis-spring-boot-starter</artifactId>
  86. <version>${mybatis-spring-boot.version}</version>
  87. </dependency>
  88. <!-- HTTP接口工具类 -->
  89. <dependency>
  90. <groupId>commons-httpclient</groupId>
  91. <artifactId>commons-httpclient</artifactId>
  92. <version>${commons.httpclient.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.tomcat.embed</groupId>
  96. <artifactId>tomcat-embed-websocket</artifactId>
  97. <version>${tomcat.version}</version>
  98. </dependency>
  99. <!-- 阿里数据库连接池 -->
  100. <dependency>
  101. <groupId>com.alibaba</groupId>
  102. <artifactId>druid-spring-boot-starter</artifactId>
  103. <version>${druid.version}</version>
  104. </dependency>
  105. <!-- 验证码 -->
  106. <dependency>
  107. <groupId>pro.fessional</groupId>
  108. <artifactId>kaptcha</artifactId>
  109. <version>${kaptcha.version}</version>
  110. </dependency>
  111. <!-- Shiro核心框架 -->
  112. <dependency>
  113. <groupId>org.apache.shiro</groupId>
  114. <artifactId>shiro-core</artifactId>
  115. <version>${shiro.version}</version>
  116. </dependency>
  117. <!-- Shiro使用Spring框架 -->
  118. <dependency>
  119. <groupId>org.apache.shiro</groupId>
  120. <artifactId>shiro-spring</artifactId>
  121. <version>${shiro.version}</version>
  122. </dependency>
  123. <!-- Shiro使用EhCache缓存框架 -->
  124. <dependency>
  125. <groupId>org.apache.shiro</groupId>
  126. <artifactId>shiro-ehcache</artifactId>
  127. <version>${shiro.version}</version>
  128. </dependency>
  129. <!-- thymeleaf模板引擎和shiro框架的整合 -->
  130. <dependency>
  131. <groupId>com.github.theborakompanioni</groupId>
  132. <artifactId>thymeleaf-extras-shiro</artifactId>
  133. <version>${thymeleaf.extras.shiro.version}</version>
  134. </dependency>
  135. <!-- 解析客户端操作系统、浏览器等 -->
  136. <dependency>
  137. <groupId>eu.bitwalker</groupId>
  138. <artifactId>UserAgentUtils</artifactId>
  139. <version>${bitwalker.version}</version>
  140. </dependency>
  141. <!-- pagehelper 分页插件 -->
  142. <dependency>
  143. <groupId>com.github.pagehelper</groupId>
  144. <artifactId>pagehelper-spring-boot-starter</artifactId>
  145. <version>${pagehelper.boot.version}</version>
  146. </dependency>
  147. <!-- 获取系统信息 -->
  148. <dependency>
  149. <groupId>com.github.oshi</groupId>
  150. <artifactId>oshi-core</artifactId>
  151. <version>${oshi.version}</version>
  152. </dependency>
  153. <!-- Swagger3依赖 -->
  154. <dependency>
  155. <groupId>io.springfox</groupId>
  156. <artifactId>springfox-boot-starter</artifactId>
  157. <version>${swagger.version}</version>
  158. <exclusions>
  159. <exclusion>
  160. <groupId>io.swagger</groupId>
  161. <artifactId>swagger-models</artifactId>
  162. </exclusion>
  163. </exclusions>
  164. </dependency>
  165. <!-- io常用工具类 -->
  166. <dependency>
  167. <groupId>commons-io</groupId>
  168. <artifactId>commons-io</artifactId>
  169. <version>${commons.io.version}</version>
  170. </dependency>
  171. <!-- lombok -->
  172. <dependency>
  173. <groupId>org.projectlombok</groupId>
  174. <artifactId>lombok</artifactId>
  175. <version>${lombok.version}</version>
  176. <optional>true</optional>
  177. </dependency>
  178. <!-- excel工具 -->
  179. <dependency>
  180. <groupId>org.apache.poi</groupId>
  181. <artifactId>poi-ooxml</artifactId>
  182. <version>${poi.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.google.guava</groupId>
  186. <artifactId>guava</artifactId>
  187. <version>${guava.version}</version>
  188. </dependency>
  189. <!-- velocity代码生成使用模板 -->
  190. <dependency>
  191. <groupId>org.apache.velocity</groupId>
  192. <artifactId>velocity-engine-core</artifactId>
  193. <version>${velocity.version}</version>
  194. </dependency>
  195. <!-- 阿里JSON解析器 -->
  196. <dependency>
  197. <groupId>com.alibaba</groupId>
  198. <artifactId>fastjson</artifactId>
  199. <version>${fastjson.version}</version>
  200. </dependency>
  201. <!-- 定时任务-->
  202. <dependency>
  203. <groupId>com.xingxi</groupId>
  204. <artifactId>xingxi-quartz</artifactId>
  205. <version>${xingxi.version}</version>
  206. </dependency>
  207. <!-- 代码生成-->
  208. <dependency>
  209. <groupId>com.xingxi</groupId>
  210. <artifactId>xingxi-generator</artifactId>
  211. <version>${xingxi.version}</version>
  212. </dependency>
  213. <!-- 核心模块-->
  214. <dependency>
  215. <groupId>com.xingxi</groupId>
  216. <artifactId>xingxi-framework</artifactId>
  217. <version>${xingxi.version}</version>
  218. </dependency>
  219. <!-- 系统模块-->
  220. <dependency>
  221. <groupId>com.xingxi</groupId>
  222. <artifactId>xingxi-system</artifactId>
  223. <version>${xingxi.version}</version>
  224. </dependency>
  225. <!-- 通用工具-->
  226. <dependency>
  227. <groupId>com.xingxi</groupId>
  228. <artifactId>xingxi-common</artifactId>
  229. <version>${xingxi.version}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>com.aliyun.oss</groupId>
  233. <artifactId>aliyun-sdk-oss</artifactId>
  234. <version>${oss-client.version}</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.github.binarywang</groupId>
  238. <artifactId>wx-java-pay-spring-boot-starter</artifactId>
  239. <version>${wechatpay.version}</version>
  240. </dependency>
  241. </dependencies>
  242. </dependencyManagement>
  243. <modules>
  244. <module>xingxi-common</module>
  245. <module>xingxi-system</module>
  246. <module>xingxi-framework</module>
  247. <module>xingxi-mq-server</module>
  248. <module>xingxi-admin</module>
  249. <module>xingxi-miniprogram-api</module>
  250. <module>xingxi-quartz</module>
  251. <module>xingxi-generator</module>
  252. </modules>
  253. <profiles>
  254. <profile>
  255. <id>local</id>
  256. <properties>
  257. <env>local</env>
  258. </properties>
  259. <activation>
  260. <activeByDefault>true</activeByDefault>
  261. </activation>
  262. </profile>
  263. <profile>
  264. <id>test</id>
  265. <properties>
  266. <env>release</env>
  267. </properties>
  268. <activation>
  269. <activeByDefault>false</activeByDefault>
  270. </activation>
  271. </profile>
  272. <profile>
  273. <id>release</id>
  274. <properties>
  275. <env>release</env>
  276. </properties>
  277. <activation>
  278. <activeByDefault>false</activeByDefault>
  279. </activation>
  280. </profile>
  281. </profiles>
  282. <packaging>pom</packaging>
  283. <dependencies>
  284. </dependencies>
  285. <build>
  286. <plugins>
  287. <plugin>
  288. <groupId>org.apache.maven.plugins</groupId>
  289. <artifactId>maven-compiler-plugin</artifactId>
  290. <version>3.1</version>
  291. <configuration>
  292. <source>${java.version}</source>
  293. <target>${java.version}</target>
  294. <encoding>${project.build.sourceEncoding}</encoding>
  295. </configuration>
  296. </plugin>
  297. </plugins>
  298. </build>
  299. <repositories>
  300. <repository>
  301. <id>public</id>
  302. <name>aliyun nexus</name>
  303. <url>https://maven.aliyun.com/repository/public</url>
  304. <releases>
  305. <enabled>true</enabled>
  306. </releases>
  307. </repository>
  308. </repositories>
  309. <pluginRepositories>
  310. <pluginRepository>
  311. <id>public</id>
  312. <name>aliyun nexus</name>
  313. <url>https://maven.aliyun.com/repository/public</url>
  314. <releases>
  315. <enabled>true</enabled>
  316. </releases>
  317. <snapshots>
  318. <enabled>false</enabled>
  319. </snapshots>
  320. </pluginRepository>
  321. </pluginRepositories>
  322. </project>