pom.xml 11 KB

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