pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  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.ruoyi</groupId>
  7. <artifactId>bj-maritime-dcds</artifactId>
  8. <version>${ruoyi.version}</version>
  9. <name>ruoyi</name>
  10. <url>http://www.ruoyi.vip</url>
  11. <description>若依微服务系统</description>
  12. <properties>
  13. <skipTests>true</skipTests>
  14. <ruoyi.version>3.6.6</ruoyi.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. <java.version>1.8</java.version>
  18. <spring-boot.version>2.7.18</spring-boot.version>
  19. <spring-cloud.version>2021.0.9</spring-cloud.version>
  20. <spring-cloud-alibaba.version>2021.0.6.1</spring-cloud-alibaba.version>
  21. <spring-boot-admin.version>2.7.16</spring-boot-admin.version>
  22. <tobato.version>1.27.2</tobato.version>
  23. <kaptcha.version>2.3.3</kaptcha.version>
  24. <pagehelper.boot.version>2.0.0</pagehelper.boot.version>
  25. <druid.version>1.2.23</druid.version>
  26. <dynamic-ds.version>4.3.1</dynamic-ds.version>
  27. <commons.io.version>2.19.0</commons.io.version>
  28. <velocity.version>2.3</velocity.version>
  29. <fastjson.version>2.0.57</fastjson.version>
  30. <jjwt.version>0.9.1</jjwt.version>
  31. <minio.version>8.2.2</minio.version>
  32. <poi.version>4.1.2</poi.version>
  33. <springdoc.version>1.6.9</springdoc.version>
  34. <transmittable-thread-local.version>2.14.4</transmittable-thread-local.version>
  35. <!-- override dependency version -->
  36. <tomcat.version>9.0.108</tomcat.version>
  37. <logback.version>1.2.13</logback.version>
  38. <spring-framework.version>5.3.39</spring-framework.version>
  39. <mybatis-plus-version>3.5.5</mybatis-plus-version>
  40. </properties>
  41. <profiles>
  42. <!-- 开发环境-->
  43. <profile>
  44. <id>dev-zgm</id>
  45. <properties>
  46. <!-- 环境标识,需要与配置文件的名称相对应 -->
  47. <profiles.active>dev-zgm</profiles.active>
  48. <nacos.server>127.0.0.1:8848</nacos.server>
  49. <nacos.discovery.group>DEFAULT_GROUP</nacos.discovery.group>
  50. <nacos.config.group>DEFAULT_GROUP</nacos.config.group>
  51. <nacos.username>nacos</nacos.username>
  52. <nacos.password>159!@#asd</nacos.password>
  53. <logstash.address>127.0.0.1:4560</logstash.address>
  54. </properties>
  55. <!-- <activation>-->
  56. <!-- &lt;!&ndash; 默认环境 &ndash;&gt;-->
  57. <!-- <activeByDefault>true</activeByDefault>-->
  58. <!-- </activation>-->
  59. </profile>
  60. <!-- 测试环境-->
  61. <profile>
  62. <id>dev</id>
  63. <properties>
  64. <!-- 环境标识,需要与配置文件的名称相对应 -->
  65. <profiles.active>dev</profiles.active>
  66. <nacos.server>127.0.0.1:8848</nacos.server>
  67. <nacos.discovery.group>DEFAULT_GROUP</nacos.discovery.group>
  68. <nacos.config.group>DEFAULT_GROUP</nacos.config.group>
  69. <nacos.username>nacos</nacos.username>
  70. <nacos.password>159!@#asd</nacos.password>
  71. <logstash.address>127.0.0.1:4560</logstash.address>
  72. </properties>
  73. <activation>
  74. <!-- 默认环境 -->
  75. <activeByDefault>true</activeByDefault>
  76. </activation>
  77. </profile>
  78. <!-- 生产环境-->
  79. <profile>
  80. <id>prod</id>
  81. <properties>
  82. <profiles.active>prod</profiles.active>
  83. <nacos.server>127.0.0.1:8848</nacos.server>
  84. <nacos.discovery.group>DEFAULT_GROUP</nacos.discovery.group>
  85. <nacos.config.group>DEFAULT_GROUP</nacos.config.group>
  86. <nacos.username>nacos</nacos.username>
  87. <nacos.password>159!@#asd</nacos.password>
  88. <logstash.address>127.0.0.1:4560</logstash.address>
  89. </properties>
  90. <!-- <activation>-->
  91. <!-- &lt;!&ndash; 默认环境 &ndash;&gt;-->
  92. <!-- <activeByDefault>true</activeByDefault>-->
  93. <!-- </activation>-->
  94. </profile>
  95. </profiles>
  96. <!-- 依赖声明 -->
  97. <dependencyManagement>
  98. <dependencies>
  99. <!-- 覆盖SpringFramework的依赖配置-->
  100. <dependency>
  101. <groupId>org.springframework</groupId>
  102. <artifactId>spring-framework-bom</artifactId>
  103. <version>${spring-framework.version}</version>
  104. <type>pom</type>
  105. <scope>import</scope>
  106. </dependency>
  107. <!-- SpringCloud 微服务 -->
  108. <dependency>
  109. <groupId>org.springframework.cloud</groupId>
  110. <artifactId>spring-cloud-dependencies</artifactId>
  111. <version>${spring-cloud.version}</version>
  112. <type>pom</type>
  113. <scope>import</scope>
  114. </dependency>
  115. <!-- SpringCloud Alibaba 微服务 -->
  116. <dependency>
  117. <groupId>com.alibaba.cloud</groupId>
  118. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  119. <version>${spring-cloud-alibaba.version}</version>
  120. <type>pom</type>
  121. <scope>import</scope>
  122. </dependency>
  123. <!-- SpringBoot 依赖配置 -->
  124. <dependency>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-dependencies</artifactId>
  127. <version>${spring-boot.version}</version>
  128. <type>pom</type>
  129. <scope>import</scope>
  130. </dependency>
  131. <!-- 覆盖logback的依赖配置-->
  132. <dependency>
  133. <groupId>ch.qos.logback</groupId>
  134. <artifactId>logback-core</artifactId>
  135. <version>${logback.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>ch.qos.logback</groupId>
  139. <artifactId>logback-classic</artifactId>
  140. <version>${logback.version}</version>
  141. </dependency>
  142. <!-- 覆盖tomcat的依赖配置-->
  143. <dependency>
  144. <groupId>org.apache.tomcat.embed</groupId>
  145. <artifactId>tomcat-embed-core</artifactId>
  146. <version>${tomcat.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.tomcat.embed</groupId>
  150. <artifactId>tomcat-embed-el</artifactId>
  151. <version>${tomcat.version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.apache.tomcat.embed</groupId>
  155. <artifactId>tomcat-embed-websocket</artifactId>
  156. <version>${tomcat.version}</version>
  157. </dependency>
  158. <!-- FastDFS 分布式文件系统 -->
  159. <dependency>
  160. <groupId>com.github.tobato</groupId>
  161. <artifactId>fastdfs-client</artifactId>
  162. <version>${tobato.version}</version>
  163. </dependency>
  164. <!-- Springdoc webmvc 依赖配置 -->
  165. <dependency>
  166. <groupId>org.springdoc</groupId>
  167. <artifactId>springdoc-openapi-ui</artifactId>
  168. <version>${springdoc.version}</version>
  169. </dependency>
  170. <!-- 验证码 -->
  171. <dependency>
  172. <groupId>pro.fessional</groupId>
  173. <artifactId>kaptcha</artifactId>
  174. <version>${kaptcha.version}</version>
  175. </dependency>
  176. <!-- pagehelper 分页插件 -->
  177. <dependency>
  178. <groupId>com.github.pagehelper</groupId>
  179. <artifactId>pagehelper-spring-boot-starter</artifactId>
  180. <version>${pagehelper.boot.version}</version>
  181. </dependency>
  182. <!-- io常用工具类 -->
  183. <dependency>
  184. <groupId>commons-io</groupId>
  185. <artifactId>commons-io</artifactId>
  186. <version>${commons.io.version}</version>
  187. </dependency>
  188. <!-- excel工具 -->
  189. <dependency>
  190. <groupId>org.apache.poi</groupId>
  191. <artifactId>poi-ooxml</artifactId>
  192. <version>${poi.version}</version>
  193. </dependency>
  194. <!-- 代码生成使用模板 -->
  195. <dependency>
  196. <groupId>org.apache.velocity</groupId>
  197. <artifactId>velocity-engine-core</artifactId>
  198. <version>${velocity.version}</version>
  199. </dependency>
  200. <!-- JSON 解析器和生成器 -->
  201. <dependency>
  202. <groupId>com.alibaba.fastjson2</groupId>
  203. <artifactId>fastjson2</artifactId>
  204. <version>${fastjson.version}</version>
  205. </dependency>
  206. <!-- JWT -->
  207. <dependency>
  208. <groupId>io.jsonwebtoken</groupId>
  209. <artifactId>jjwt</artifactId>
  210. <version>${jjwt.version}</version>
  211. </dependency>
  212. <!-- 线程传递值 -->
  213. <dependency>
  214. <groupId>com.alibaba</groupId>
  215. <artifactId>transmittable-thread-local</artifactId>
  216. <version>${transmittable-thread-local.version}</version>
  217. </dependency>
  218. <!-- 核心模块 -->
  219. <dependency>
  220. <groupId>com.ruoyi</groupId>
  221. <artifactId>ruoyi-common-core</artifactId>
  222. <version>${ruoyi.version}</version>
  223. </dependency>
  224. <!-- 接口模块 -->
  225. <dependency>
  226. <groupId>com.ruoyi</groupId>
  227. <artifactId>ruoyi-common-swagger</artifactId>
  228. <version>${ruoyi.version}</version>
  229. </dependency>
  230. <!-- 安全模块 -->
  231. <dependency>
  232. <groupId>com.ruoyi</groupId>
  233. <artifactId>ruoyi-common-security</artifactId>
  234. <version>${ruoyi.version}</version>
  235. </dependency>
  236. <!-- 数据脱敏 -->
  237. <dependency>
  238. <groupId>com.ruoyi</groupId>
  239. <artifactId>ruoyi-common-sensitive</artifactId>
  240. <version>${ruoyi.version}</version>
  241. </dependency>
  242. <!-- 权限范围 -->
  243. <dependency>
  244. <groupId>com.ruoyi</groupId>
  245. <artifactId>ruoyi-common-datascope</artifactId>
  246. <version>${ruoyi.version}</version>
  247. </dependency>
  248. <!-- 多数据源 -->
  249. <dependency>
  250. <groupId>com.ruoyi</groupId>
  251. <artifactId>ruoyi-common-datasource</artifactId>
  252. <version>${ruoyi.version}</version>
  253. </dependency>
  254. <!-- 分布式事务 -->
  255. <dependency>
  256. <groupId>com.ruoyi</groupId>
  257. <artifactId>ruoyi-common-seata</artifactId>
  258. <version>${ruoyi.version}</version>
  259. </dependency>
  260. <!-- 日志记录 -->
  261. <dependency>
  262. <groupId>com.ruoyi</groupId>
  263. <artifactId>ruoyi-common-log</artifactId>
  264. <version>${ruoyi.version}</version>
  265. </dependency>
  266. <!-- 缓存服务 -->
  267. <dependency>
  268. <groupId>com.ruoyi</groupId>
  269. <artifactId>ruoyi-common-redis</artifactId>
  270. <version>${ruoyi.version}</version>
  271. </dependency>
  272. <!-- 系统接口 -->
  273. <dependency>
  274. <groupId>com.ruoyi</groupId>
  275. <artifactId>ruoyi-api-system</artifactId>
  276. <version>${ruoyi.version}</version>
  277. </dependency>
  278. <!-- 系统接口 -->
  279. <dependency>
  280. <groupId>com.ruoyi</groupId>
  281. <artifactId>ruoyi-api-business</artifactId>
  282. <version>${ruoyi.version}</version>
  283. </dependency>
  284. <!-- mp -->
  285. <dependency>
  286. <groupId>com.baomidou</groupId>
  287. <artifactId>mybatis-plus-boot-starter</artifactId>
  288. <version>${mybatis-plus-version}</version>
  289. </dependency>
  290. </dependencies>
  291. </dependencyManagement>
  292. <modules>
  293. <module>ruoyi-auth</module>
  294. <module>ruoyi-gateway</module>
  295. <module>ruoyi-visual</module>
  296. <module>ruoyi-modules</module>
  297. <module>ruoyi-api</module>
  298. <module>ruoyi-common</module>
  299. <module>ruoyi-nacos</module>
  300. </modules>
  301. <packaging>pom</packaging>
  302. <dependencies>
  303. <!-- bootstrap 启动器 -->
  304. <dependency>
  305. <groupId>org.springframework.cloud</groupId>
  306. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  307. </dependency>
  308. </dependencies>
  309. <build>
  310. <plugins>
  311. <plugin>
  312. <groupId>org.apache.maven.plugins</groupId>
  313. <artifactId>maven-compiler-plugin</artifactId>
  314. <configuration>
  315. <source>${java.version}</source>
  316. <target>${java.version}</target>
  317. <encoding>${project.build.sourceEncoding}</encoding>
  318. </configuration>
  319. </plugin>
  320. </plugins>
  321. <pluginManagement>
  322. <plugins>
  323. <plugin>
  324. <groupId>org.springframework.boot</groupId>
  325. <artifactId>spring-boot-maven-plugin</artifactId>
  326. <version>${spring-boot.version}</version>
  327. <executions>
  328. <execution>
  329. <goals>
  330. <goal>repackage</goal>
  331. </goals>
  332. </execution>
  333. </executions>
  334. </plugin>
  335. </plugins>
  336. </pluginManagement>
  337. </build>
  338. <repositories>
  339. <repository>
  340. <id>public</id>
  341. <name>aliyun nexus</name>
  342. <url>https://maven.aliyun.com/repository/public</url>
  343. <releases>
  344. <enabled>true</enabled>
  345. </releases>
  346. </repository>
  347. </repositories>
  348. <pluginRepositories>
  349. <pluginRepository>
  350. <id>public</id>
  351. <name>aliyun nexus</name>
  352. <url>https://maven.aliyun.com/repository/public</url>
  353. <releases>
  354. <enabled>true</enabled>
  355. </releases>
  356. <snapshots>
  357. <enabled>false</enabled>
  358. </snapshots>
  359. </pluginRepository>
  360. </pluginRepositories>
  361. </project>