This is an automated email from the ASF dual-hosted git repository.

jianglongtao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new dda051f2a7f Change seata-all dependency scope to provided (#38040)
dda051f2a7f is described below

commit dda051f2a7f40de937e2ab1cdaac6d517dbf5215
Author: Raigor <[email protected]>
AuthorDate: Sat Feb 14 14:31:26 2026 +0800

    Change seata-all dependency scope to provided (#38040)
---
 distribution/proxy-native/pom.xml             |  4 ----
 distribution/proxy/pom.xml                    |  4 ----
 kernel/transaction/type/base/seata-at/pom.xml |  7 +------
 test/native/pom.xml                           | 10 ++++++++++
 4 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/distribution/proxy-native/pom.xml 
b/distribution/proxy-native/pom.xml
index df02de36c45..635f0e2c4d0 100644
--- a/distribution/proxy-native/pom.xml
+++ b/distribution/proxy-native/pom.xml
@@ -467,10 +467,6 @@
                     <version>${project.version}</version>
                     <scope>runtime</scope>
                     <exclusions>
-                        <exclusion>
-                            <groupId>org.apache.seata</groupId>
-                            <artifactId>seata-all</artifactId>
-                        </exclusion>
                         <exclusion>
                             <groupId>commons-lang</groupId>
                             <artifactId>commons-lang</artifactId>
diff --git a/distribution/proxy/pom.xml b/distribution/proxy/pom.xml
index 2b58d13aaab..a61a1e1b8cb 100644
--- a/distribution/proxy/pom.xml
+++ b/distribution/proxy/pom.xml
@@ -502,10 +502,6 @@
                     <version>${project.version}</version>
                     <scope>runtime</scope>
                     <exclusions>
-                        <exclusion>
-                            <groupId>org.apache.seata</groupId>
-                            <artifactId>seata-all</artifactId>
-                        </exclusion>
                         <exclusion>
                             <groupId>commons-lang</groupId>
                             <artifactId>commons-lang</artifactId>
diff --git a/kernel/transaction/type/base/seata-at/pom.xml 
b/kernel/transaction/type/base/seata-at/pom.xml
index 17fafec9748..2de8f8a9ddc 100644
--- a/kernel/transaction/type/base/seata-at/pom.xml
+++ b/kernel/transaction/type/base/seata-at/pom.xml
@@ -38,12 +38,7 @@
                 <groupId>org.apache.seata</groupId>
                 <artifactId>seata-all</artifactId>
                 <version>${seata.version}</version>
-                <exclusions>
-                    <exclusion>
-                        <groupId>org.antlr</groupId>
-                        <artifactId>antlr4-runtime</artifactId>
-                    </exclusion>
-                </exclusions>
+                <scope>provided</scope>
             </dependency>
             <dependency>
                 <groupId>commons-lang</groupId>
diff --git a/test/native/pom.xml b/test/native/pom.xml
index 9994b917328..c1946f3d8ae 100644
--- a/test/native/pom.xml
+++ b/test/native/pom.xml
@@ -26,6 +26,10 @@
     <artifactId>shardingsphere-test-native</artifactId>
     <name>${project.artifactId}</name>
     
+    <properties>
+        <seata.version>2.5.0</seata.version>
+    </properties>
+    
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
@@ -87,6 +91,12 @@
             <version>${project.version}</version>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.seata</groupId>
+            <artifactId>seata-all</artifactId>
+            <version>${seata.version}</version>
+            <scope>test</scope>
+        </dependency>
         
         <dependency>
             <groupId>com.microsoft.sqlserver</groupId>

Reply via email to