pom.xml 10 KB

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