From 0dfbb5fbf3927be210767dd18595fc42fed84e95 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 29 Sep 2022 11:29:41 +0800
Subject: [PATCH] seata单独依赖模块
---
ruoyi-common/ruoyi-common-seata/pom.xml | 27 +++++++++++++++++++++++++++
ruoyi-common/ruoyi-common-datasource/pom.xml | 10 ++--------
pom.xml | 7 +++++++
ruoyi-common/pom.xml | 5 +++--
4 files changed, 39 insertions(+), 10 deletions(-)
diff --git a/pom.xml b/pom.xml
index 68c2028..f304087 100644
--- a/pom.xml
+++ b/pom.xml
@@ -218,6 +218,13 @@
<version>${ruoyi.version}</version>
</dependency>
+ <!-- 分布式事务 -->
+ <dependency>
+ <groupId>com.ruoyi</groupId>
+ <artifactId>ruoyi-common-seata</artifactId>
+ <version>${ruoyi.version}</version>
+ </dependency>
+
<!-- 日志记录 -->
<dependency>
<groupId>com.ruoyi</groupId>
diff --git a/ruoyi-common/pom.xml b/ruoyi-common/pom.xml
index 7696932..45cb03e 100644
--- a/ruoyi-common/pom.xml
+++ b/ruoyi-common/pom.xml
@@ -12,17 +12,18 @@
<module>ruoyi-common-log</module>
<module>ruoyi-common-core</module>
<module>ruoyi-common-redis</module>
+ <module>ruoyi-common-seata</module>
<module>ruoyi-common-swagger</module>
<module>ruoyi-common-security</module>
<module>ruoyi-common-datascope</module>
- <module>ruoyi-common-datasource</module>
+ <module>ruoyi-common-datasource</module>
</modules>
<artifactId>ruoyi-common</artifactId>
<packaging>pom</packaging>
<description>
- ruoyi-common通用模块
+ ruoyi-common通用模块
</description>
</project>
diff --git a/ruoyi-common/ruoyi-common-datasource/pom.xml b/ruoyi-common/ruoyi-common-datasource/pom.xml
index bf25868..6fbfbb3 100644
--- a/ruoyi-common/ruoyi-common-datasource/pom.xml
+++ b/ruoyi-common/ruoyi-common-datasource/pom.xml
@@ -10,14 +10,14 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>ruoyi-common-datasource</artifactId>
-
+
<description>
ruoyi-common-datasource多数据源
</description>
<dependencies>
- <!-- Druid -->
+ <!-- Druid -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
@@ -29,12 +29,6 @@
<groupId>com.baomidou</groupId>
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
<version>${dynamic-ds.version}</version>
- </dependency>
-
- <!-- SpringBoot Seata -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-seata</artifactId>
</dependency>
</dependencies>
diff --git a/ruoyi-common/ruoyi-common-seata/pom.xml b/ruoyi-common/ruoyi-common-seata/pom.xml
new file mode 100644
index 0000000..07efc5a
--- /dev/null
+++ b/ruoyi-common/ruoyi-common-seata/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <groupId>com.ruoyi</groupId>
+ <artifactId>ruoyi-common</artifactId>
+ <version>3.6.0</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>ruoyi-common-seata</artifactId>
+
+ <description>
+ ruoyi-common-seata分布式事务
+ </description>
+
+ <dependencies>
+
+ <!-- SpringBoot Seata -->
+ <dependency>
+ <groupId>com.alibaba.cloud</groupId>
+ <artifactId>spring-cloud-starter-alibaba-seata</artifactId>
+ </dependency>
+
+ </dependencies>
+</project>
\ No newline at end of file
--
Gitblit v1.9.3