pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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</groupId>
  7. <artifactId>ems-cloud</artifactId>
  8. <version>3.6.4</version>
  9. <name>ems-cloud</name>
  10. <description>华设能源管理系统</description>
  11. <properties>
  12. <ruoyi.version>3.6.4</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. <spring-boot.version>2.7.18</spring-boot.version>
  17. <spring-cloud.version>2021.0.8</spring-cloud.version>
  18. <spring-cloud-alibaba.version>2021.0.5.0</spring-cloud-alibaba.version>
  19. <spring-framework.version>5.3.33</spring-framework.version>
  20. <spring-boot-admin.version>2.7.15</spring-boot-admin.version>
  21. <swagger.fox.version>3.0.0</swagger.fox.version>
  22. <swagger.core.version>1.6.2</swagger.core.version>
  23. <tobato.version>1.27.2</tobato.version>
  24. <kaptcha.version>2.3.3</kaptcha.version>
  25. <pagehelper.boot.version>2.0.0</pagehelper.boot.version>
  26. <druid.version>1.2.20</druid.version>
  27. <dynamic-ds.version>4.2.0</dynamic-ds.version>
  28. <commons.io.version>2.13.0</commons.io.version>
  29. <velocity.version>2.3</velocity.version>
  30. <fastjson.version>2.0.43</fastjson.version>
  31. <jjwt.version>0.9.1</jjwt.version>
  32. <minio.version>8.2.2</minio.version>
  33. <poi.version>4.1.2</poi.version>
  34. <transmittable-thread-local.version>2.14.4</transmittable-thread-local.version>
  35. </properties>
  36. <!-- 依赖声明 -->
  37. <dependencyManagement>
  38. <dependencies>
  39. <!-- SpringFramework的依赖配置-->
  40. <dependency>
  41. <groupId>org.springframework</groupId>
  42. <artifactId>spring-framework-bom</artifactId>
  43. <version>${spring-framework.version}</version>
  44. <type>pom</type>
  45. <scope>import</scope>
  46. </dependency>
  47. <!-- SpringCloud 微服务 -->
  48. <dependency>
  49. <groupId>org.springframework.cloud</groupId>
  50. <artifactId>spring-cloud-dependencies</artifactId>
  51. <version>${spring-cloud.version}</version>
  52. <type>pom</type>
  53. <scope>import</scope>
  54. </dependency>
  55. <!-- SpringCloud Alibaba 微服务 -->
  56. <dependency>
  57. <groupId>com.alibaba.cloud</groupId>
  58. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  59. <version>${spring-cloud-alibaba.version}</version>
  60. <type>pom</type>
  61. <scope>import</scope>
  62. </dependency>
  63. <!-- SpringBoot 依赖配置 -->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-dependencies</artifactId>
  67. <version>${spring-boot.version}</version>
  68. <type>pom</type>
  69. <scope>import</scope>
  70. </dependency>
  71. <!-- FastDFS 分布式文件系统 -->
  72. <dependency>
  73. <groupId>com.github.tobato</groupId>
  74. <artifactId>fastdfs-client</artifactId>
  75. <version>${tobato.version}</version>
  76. </dependency>
  77. <!-- Swagger 依赖配置 -->
  78. <dependency>
  79. <groupId>io.swagger</groupId>
  80. <artifactId>swagger-models</artifactId>
  81. <version>${swagger.core.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>io.swagger</groupId>
  85. <artifactId>swagger-annotations</artifactId>
  86. <version>${swagger.core.version}</version>
  87. </dependency>
  88. <!-- 验证码 -->
  89. <dependency>
  90. <groupId>pro.fessional</groupId>
  91. <artifactId>kaptcha</artifactId>
  92. <version>${kaptcha.version}</version>
  93. </dependency>
  94. <!-- pagehelper 分页插件 -->
  95. <dependency>
  96. <groupId>com.github.pagehelper</groupId>
  97. <artifactId>pagehelper-spring-boot-starter</artifactId>
  98. <version>${pagehelper.boot.version}</version>
  99. </dependency>
  100. <!-- io常用工具类 -->
  101. <dependency>
  102. <groupId>commons-io</groupId>
  103. <artifactId>commons-io</artifactId>
  104. <version>${commons.io.version}</version>
  105. </dependency>
  106. <!-- excel工具 -->
  107. <dependency>
  108. <groupId>org.apache.poi</groupId>
  109. <artifactId>poi-ooxml</artifactId>
  110. <version>${poi.version}</version>
  111. </dependency>
  112. <!-- 代码生成使用模板 -->
  113. <dependency>
  114. <groupId>org.apache.velocity</groupId>
  115. <artifactId>velocity-engine-core</artifactId>
  116. <version>${velocity.version}</version>
  117. </dependency>
  118. <!-- JSON 解析器和生成器 -->
  119. <dependency>
  120. <groupId>com.alibaba.fastjson2</groupId>
  121. <artifactId>fastjson2</artifactId>
  122. <version>${fastjson.version}</version>
  123. </dependency>
  124. <!-- JWT -->
  125. <dependency>
  126. <groupId>io.jsonwebtoken</groupId>
  127. <artifactId>jjwt</artifactId>
  128. <version>${jjwt.version}</version>
  129. </dependency>
  130. <!-- 线程传递值 -->
  131. <dependency>
  132. <groupId>com.alibaba</groupId>
  133. <artifactId>transmittable-thread-local</artifactId>
  134. <version>${transmittable-thread-local.version}</version>
  135. </dependency>
  136. <!-- 核心模块 -->
  137. <dependency>
  138. <groupId>com.huashe</groupId>
  139. <artifactId>ruoyi-common-core</artifactId>
  140. <version>${ruoyi.version}</version>
  141. </dependency>
  142. <!-- 接口模块 -->
  143. <dependency>
  144. <groupId>com.huashe</groupId>
  145. <artifactId>ruoyi-common-swagger</artifactId>
  146. <version>${ruoyi.version}</version>
  147. </dependency>
  148. <!-- 安全模块 -->
  149. <dependency>
  150. <groupId>com.huashe</groupId>
  151. <artifactId>ruoyi-common-security</artifactId>
  152. <version>${ruoyi.version}</version>
  153. </dependency>
  154. <!-- 数据脱敏 -->
  155. <dependency>
  156. <groupId>com.huashe</groupId>
  157. <artifactId>ruoyi-common-sensitive</artifactId>
  158. <version>${ruoyi.version}</version>
  159. </dependency>
  160. <!-- 权限范围 -->
  161. <dependency>
  162. <groupId>com.huashe</groupId>
  163. <artifactId>ruoyi-common-datascope</artifactId>
  164. <version>${ruoyi.version}</version>
  165. </dependency>
  166. <!-- 多数据源 -->
  167. <dependency>
  168. <groupId>com.huashe</groupId>
  169. <artifactId>ruoyi-common-datasource</artifactId>
  170. <version>${ruoyi.version}</version>
  171. </dependency>
  172. <!-- 分布式事务 -->
  173. <dependency>
  174. <groupId>com.huashe</groupId>
  175. <artifactId>ruoyi-common-seata</artifactId>
  176. <version>${ruoyi.version}</version>
  177. </dependency>
  178. <!-- 日志记录 -->
  179. <dependency>
  180. <groupId>com.huashe</groupId>
  181. <artifactId>ruoyi-common-log</artifactId>
  182. <version>${ruoyi.version}</version>
  183. </dependency>
  184. <!-- 缓存服务 -->
  185. <dependency>
  186. <groupId>com.huashe</groupId>
  187. <artifactId>ruoyi-common-redis</artifactId>
  188. <version>${ruoyi.version}</version>
  189. </dependency>
  190. <!-- 系统接口 -->
  191. <dependency>
  192. <groupId>com.huashe</groupId>
  193. <artifactId>ruoyi-api-system</artifactId>
  194. <version>${ruoyi.version}</version>
  195. </dependency>
  196. </dependencies>
  197. </dependencyManagement>
  198. <modules>
  199. <module>ruoyi-common</module>
  200. <module>ruoyi-gateway</module>
  201. <module>ruoyi-api</module>
  202. <module>ruoyi-auth</module>
  203. <module>ems-modules</module>
  204. </modules>
  205. <packaging>pom</packaging>
  206. <dependencies>
  207. <!-- bootstrap 启动器 -->
  208. <dependency>
  209. <groupId>org.springframework.cloud</groupId>
  210. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  211. </dependency>
  212. </dependencies>
  213. <build>
  214. <plugins>
  215. <plugin>
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-compiler-plugin</artifactId>
  218. <version>3.8.0</version>
  219. <configuration>
  220. <source>${java.version}</source>
  221. <target>${java.version}</target>
  222. <encoding>${project.build.sourceEncoding}</encoding>
  223. </configuration>
  224. </plugin>
  225. </plugins>
  226. <pluginManagement>
  227. <plugins>
  228. <plugin>
  229. <groupId>org.springframework.boot</groupId>
  230. <artifactId>spring-boot-maven-plugin</artifactId>
  231. <version>${spring-boot.version}</version>
  232. <executions>
  233. <execution>
  234. <goals>
  235. <goal>repackage</goal>
  236. </goals>
  237. </execution>
  238. </executions>
  239. </plugin>
  240. </plugins>
  241. </pluginManagement>
  242. </build>
  243. <repositories>
  244. <repository>
  245. <id>public</id>
  246. <name>aliyun nexus</name>
  247. <url>https://maven.aliyun.com/repository/public</url>
  248. <releases>
  249. <enabled>true</enabled>
  250. </releases>
  251. </repository>
  252. </repositories>
  253. <pluginRepositories>
  254. <pluginRepository>
  255. <id>public</id>
  256. <name>aliyun nexus</name>
  257. <url>https://maven.aliyun.com/repository/public</url>
  258. <releases>
  259. <enabled>true</enabled>
  260. </releases>
  261. <snapshots>
  262. <enabled>false</enabled>
  263. </snapshots>
  264. </pluginRepository>
  265. </pluginRepositories>
  266. </project>