pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.huashe.application</groupId>
  7. <artifactId>common-application</artifactId>
  8. <version>3.8.8</version>
  9. <name>common-application</name>
  10. <description>公共组件-单体应用版</description>
  11. <properties>
  12. <ruoyi.version>3.8.8</ruoyi.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. <druid.version>1.2.23</druid.version>
  19. <bitwalker.version>1.21</bitwalker.version>
  20. <swagger.version>3.0.0</swagger.version>
  21. <kaptcha.version>2.3.3</kaptcha.version>
  22. <pagehelper.boot.version>1.4.7</pagehelper.boot.version>
  23. <fastjson.version>2.0.53</fastjson.version>
  24. <oshi.version>6.6.5</oshi.version>
  25. <commons.io.version>2.13.0</commons.io.version>
  26. <poi.version>4.1.2</poi.version>
  27. <velocity.version>2.3</velocity.version>
  28. <jwt.version>0.9.1</jwt.version>
  29. <!-- override dependency version -->
  30. <tomcat.version>9.0.96</tomcat.version>
  31. <logback.version>1.2.13</logback.version>
  32. <spring-security.version>5.7.12</spring-security.version>
  33. <spring-framework.version>5.3.39</spring-framework.version>
  34. <prod.commons.version>1.0-SNAPSHOT</prod.commons.version>
  35. <jsqlparser.version>4.6</jsqlparser.version>
  36. <warm-flow>1.6.7</warm-flow>
  37. </properties>
  38. <!-- 依赖声明 -->
  39. <dependencyManagement>
  40. <dependencies>
  41. <!-- 覆盖SpringFramework的依赖配置-->
  42. <dependency>
  43. <groupId>org.springframework</groupId>
  44. <artifactId>spring-framework-bom</artifactId>
  45. <version>${spring-framework.version}</version>
  46. <type>pom</type>
  47. <scope>import</scope>
  48. </dependency>
  49. <!-- 覆盖SpringSecurity的依赖配置-->
  50. <dependency>
  51. <groupId>org.springframework.security</groupId>
  52. <artifactId>spring-security-bom</artifactId>
  53. <version>${spring-security.version}</version>
  54. <type>pom</type>
  55. <scope>import</scope>
  56. </dependency>
  57. <!-- SpringBoot的依赖配置-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-dependencies</artifactId>
  61. <version>${spring-boot.version}</version>
  62. <type>pom</type>
  63. <scope>import</scope>
  64. </dependency>
  65. <!-- 覆盖logback的依赖配置-->
  66. <dependency>
  67. <groupId>ch.qos.logback</groupId>
  68. <artifactId>logback-core</artifactId>
  69. <version>${logback.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>ch.qos.logback</groupId>
  73. <artifactId>logback-classic</artifactId>
  74. <version>${logback.version}</version>
  75. </dependency>
  76. <!-- 覆盖tomcat的依赖配置-->
  77. <dependency>
  78. <groupId>org.apache.tomcat.embed</groupId>
  79. <artifactId>tomcat-embed-core</artifactId>
  80. <version>${tomcat.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.tomcat.embed</groupId>
  84. <artifactId>tomcat-embed-el</artifactId>
  85. <version>${tomcat.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.tomcat.embed</groupId>
  89. <artifactId>tomcat-embed-websocket</artifactId>
  90. <version>${tomcat.version}</version>
  91. </dependency>
  92. <!-- 阿里数据库连接池 -->
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>druid-spring-boot-starter</artifactId>
  96. <version>${druid.version}</version>
  97. </dependency>
  98. <!-- 解析客户端操作系统、浏览器等 -->
  99. <dependency>
  100. <groupId>eu.bitwalker</groupId>
  101. <artifactId>UserAgentUtils</artifactId>
  102. <version>${bitwalker.version}</version>
  103. </dependency>
  104. <!-- pagehelper 分页插件 -->
  105. <dependency>
  106. <groupId>com.github.pagehelper</groupId>
  107. <artifactId>pagehelper-spring-boot-starter</artifactId>
  108. <version>${pagehelper.boot.version}</version>
  109. </dependency>
  110. <!-- 获取系统信息 -->
  111. <dependency>
  112. <groupId>com.github.oshi</groupId>
  113. <artifactId>oshi-core</artifactId>
  114. <version>${oshi.version}</version>
  115. </dependency>
  116. <!-- Swagger3依赖 -->
  117. <dependency>
  118. <groupId>io.springfox</groupId>
  119. <artifactId>springfox-boot-starter</artifactId>
  120. <version>${swagger.version}</version>
  121. <exclusions>
  122. <exclusion>
  123. <groupId>io.swagger</groupId>
  124. <artifactId>swagger-models</artifactId>
  125. </exclusion>
  126. </exclusions>
  127. </dependency>
  128. <!-- io常用工具类 -->
  129. <dependency>
  130. <groupId>commons-io</groupId>
  131. <artifactId>commons-io</artifactId>
  132. <version>${commons.io.version}</version>
  133. </dependency>
  134. <!-- excel工具 -->
  135. <dependency>
  136. <groupId>org.apache.poi</groupId>
  137. <artifactId>poi-ooxml</artifactId>
  138. <version>${poi.version}</version>
  139. </dependency>
  140. <!-- velocity代码生成使用模板 -->
  141. <dependency>
  142. <groupId>org.apache.velocity</groupId>
  143. <artifactId>velocity-engine-core</artifactId>
  144. <version>${velocity.version}</version>
  145. </dependency>
  146. <!-- 阿里JSON解析器 -->
  147. <dependency>
  148. <groupId>com.alibaba.fastjson2</groupId>
  149. <artifactId>fastjson2</artifactId>
  150. <version>${fastjson.version}</version>
  151. </dependency>
  152. <!-- Token生成与解析-->
  153. <dependency>
  154. <groupId>io.jsonwebtoken</groupId>
  155. <artifactId>jjwt</artifactId>
  156. <version>${jwt.version}</version>
  157. </dependency>
  158. <!-- 验证码 -->
  159. <dependency>
  160. <groupId>pro.fessional</groupId>
  161. <artifactId>kaptcha</artifactId>
  162. <version>${kaptcha.version}</version>
  163. </dependency>
  164. <!-- 定时任务-->
  165. <dependency>
  166. <groupId>com.huashe.application</groupId>
  167. <artifactId>ruoyi-quartz</artifactId>
  168. <version>${ruoyi.version}</version>
  169. </dependency>
  170. <!-- 代码生成-->
  171. <dependency>
  172. <groupId>com.huashe.application</groupId>
  173. <artifactId>ruoyi-generator</artifactId>
  174. <version>${ruoyi.version}</version>
  175. </dependency>
  176. <!-- 核心模块-->
  177. <dependency>
  178. <groupId>com.huashe.application</groupId>
  179. <artifactId>ruoyi-framework</artifactId>
  180. <version>${ruoyi.version}</version>
  181. </dependency>
  182. <!-- 系统模块-->
  183. <dependency>
  184. <groupId>com.huashe.application</groupId>
  185. <artifactId>ruoyi-system</artifactId>
  186. <version>${ruoyi.version}</version>
  187. </dependency>
  188. <!-- 通用工具-->
  189. <dependency>
  190. <groupId>com.huashe.application</groupId>
  191. <artifactId>ruoyi-common</artifactId>
  192. <version>${ruoyi.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.huashe.application</groupId>
  196. <artifactId>ruoyi-flow</artifactId>
  197. <version>${ruoyi.version}</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>com.huashe.common</groupId>
  201. <artifactId>prod-commons</artifactId>
  202. <version>${prod.commons.version}</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.github.jsqlparser</groupId>
  206. <artifactId>jsqlparser</artifactId>
  207. <version>${jsqlparser.version}</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.dromara.warm</groupId>
  211. <artifactId>warm-flow-mybatis-sb-starter</artifactId>
  212. <version>${warm-flow}</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.dromara.warm</groupId>
  216. <artifactId>warm-flow-plugin-ui-sb-web</artifactId>
  217. <version>${warm-flow}</version>
  218. </dependency>
  219. </dependencies>
  220. </dependencyManagement>
  221. <modules>
  222. <module>ruoyi-admin</module>
  223. <module>ruoyi-framework</module>
  224. <module>ruoyi-system</module>
  225. <module>ruoyi-quartz</module>
  226. <module>ruoyi-generator</module>
  227. <module>ruoyi-common</module>
  228. <module>ruoyi-flow</module>
  229. </modules>
  230. <packaging>pom</packaging>
  231. <build>
  232. <plugins>
  233. <plugin>
  234. <groupId>org.apache.maven.plugins</groupId>
  235. <artifactId>maven-compiler-plugin</artifactId>
  236. <version>3.1</version>
  237. <configuration>
  238. <source>${java.version}</source>
  239. <target>${java.version}</target>
  240. <encoding>${project.build.sourceEncoding}</encoding>
  241. </configuration>
  242. </plugin>
  243. </plugins>
  244. </build>
  245. <repositories>
  246. <repository>
  247. <id>nexus</id>
  248. <name>Team Nexus Repository</name>
  249. <url>http://maven.xt.wenhq.top:8083/repository/maven-public/</url>
  250. <snapshots>
  251. <enabled>true</enabled>
  252. <updatePolicy>always</updatePolicy>
  253. <checksumPolicy>warn</checksumPolicy>
  254. </snapshots>
  255. <releases>
  256. <enabled>true</enabled>
  257. <updatePolicy>always</updatePolicy>
  258. <checksumPolicy>warn</checksumPolicy>
  259. </releases>
  260. </repository>
  261. </repositories>
  262. <distributionManagement>
  263. <repository>
  264. <id>hs-private-repo</id>
  265. <url>http://maven.xt.wenhq.top:8083/repository/maven-releases/</url>
  266. </repository>
  267. <snapshotRepository>
  268. <id>hs-private-snapshot-repo</id>
  269. <url>http://maven.xt.wenhq.top:8083/repository/maven-snapshots/</url>
  270. </snapshotRepository>
  271. </distributionManagement>
  272. <pluginRepositories>
  273. <pluginRepository>
  274. <id>nexus</id>
  275. <name>Team Nexus Repository</name>
  276. <url>http://maven.xt.wenhq.top:8083/repository/maven-public/</url>
  277. </pluginRepository>
  278. </pluginRepositories>
  279. </project>