pom.xml 12 KB

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