RuoYi лет назад: 3
Родитель
Сommit
0dfbb5fbf3
4 измененных файлов с 39 добавлено и 10 удалено
  1. 7 0
      pom.xml
  2. 3 2
      ruoyi-common/pom.xml
  3. 2 8
      ruoyi-common/ruoyi-common-datasource/pom.xml
  4. 27 0
      ruoyi-common/ruoyi-common-seata/pom.xml

+ 7 - 0
pom.xml

@@ -218,6 +218,13 @@
218
                 <version>${ruoyi.version}</version>
218
                 <version>${ruoyi.version}</version>
219
             </dependency>
219
             </dependency>
220
 
220
 
221
+            <!-- 分布式事务 -->
222
+            <dependency>
223
+                <groupId>com.ruoyi</groupId>
224
+                <artifactId>ruoyi-common-seata</artifactId>
225
+                <version>${ruoyi.version}</version>
226
+            </dependency>
227
+
221
             <!-- 日志记录 -->
228
             <!-- 日志记录 -->
222
             <dependency>
229
             <dependency>
223
                 <groupId>com.ruoyi</groupId>
230
                 <groupId>com.ruoyi</groupId>

+ 3 - 2
ruoyi-common/pom.xml

@@ -12,17 +12,18 @@
12
         <module>ruoyi-common-log</module>
12
         <module>ruoyi-common-log</module>
13
         <module>ruoyi-common-core</module>
13
         <module>ruoyi-common-core</module>
14
         <module>ruoyi-common-redis</module>
14
         <module>ruoyi-common-redis</module>
15
+        <module>ruoyi-common-seata</module>
15
         <module>ruoyi-common-swagger</module>
16
         <module>ruoyi-common-swagger</module>
16
         <module>ruoyi-common-security</module>
17
         <module>ruoyi-common-security</module>
17
         <module>ruoyi-common-datascope</module>
18
         <module>ruoyi-common-datascope</module>
18
-		<module>ruoyi-common-datasource</module>
19
+        <module>ruoyi-common-datasource</module>
19
     </modules>
20
     </modules>
20
 
21
 
21
     <artifactId>ruoyi-common</artifactId>
22
     <artifactId>ruoyi-common</artifactId>
22
     <packaging>pom</packaging>
23
     <packaging>pom</packaging>
23
 
24
 
24
     <description>
25
     <description>
25
-	    ruoyi-common通用模块
26
+        ruoyi-common通用模块
26
     </description>
27
     </description>
27
 
28
 
28
 </project>
29
 </project>

+ 2 - 8
ruoyi-common/ruoyi-common-datasource/pom.xml

@@ -10,14 +10,14 @@
10
     <modelVersion>4.0.0</modelVersion>
10
     <modelVersion>4.0.0</modelVersion>
11
     
11
     
12
     <artifactId>ruoyi-common-datasource</artifactId>
12
     <artifactId>ruoyi-common-datasource</artifactId>
13
-	
13
+
14
     <description>
14
     <description>
15
         ruoyi-common-datasource多数据源
15
         ruoyi-common-datasource多数据源
16
     </description>
16
     </description>
17
 
17
 
18
     <dependencies>
18
     <dependencies>
19
 
19
 
20
-		<!-- Druid -->
20
+        <!-- Druid -->
21
         <dependency>
21
         <dependency>
22
             <groupId>com.alibaba</groupId>
22
             <groupId>com.alibaba</groupId>
23
             <artifactId>druid-spring-boot-starter</artifactId>
23
             <artifactId>druid-spring-boot-starter</artifactId>
@@ -30,12 +30,6 @@
30
             <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
30
             <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
31
             <version>${dynamic-ds.version}</version>
31
             <version>${dynamic-ds.version}</version>
32
         </dependency>
32
         </dependency>
33
-        
34
-        <!-- SpringBoot Seata -->
35
-        <dependency>
36
-            <groupId>com.alibaba.cloud</groupId>
37
-            <artifactId>spring-cloud-starter-alibaba-seata</artifactId>
38
-        </dependency>
39
 
33
 
40
     </dependencies>
34
     </dependencies>
41
 </project>
35
 </project>

+ 27 - 0
ruoyi-common/ruoyi-common-seata/pom.xml

@@ -0,0 +1,27 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
+         xmlns="http://maven.apache.org/POM/4.0.0"
4
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+    <parent>
6
+        <groupId>com.ruoyi</groupId>
7
+        <artifactId>ruoyi-common</artifactId>
8
+        <version>3.6.0</version>
9
+    </parent>
10
+    <modelVersion>4.0.0</modelVersion>
11
+
12
+    <artifactId>ruoyi-common-seata</artifactId>
13
+
14
+    <description>
15
+        ruoyi-common-seata分布式事务
16
+    </description>
17
+
18
+    <dependencies>
19
+
20
+        <!-- SpringBoot Seata -->
21
+        <dependency>
22
+            <groupId>com.alibaba.cloud</groupId>
23
+            <artifactId>spring-cloud-starter-alibaba-seata</artifactId>
24
+        </dependency>
25
+
26
+    </dependencies>
27
+</project>