Skip to content

Commit dda051f

Browse files
authored
Change seata-all dependency scope to provided (#38040)
1 parent 95160d9 commit dda051f

4 files changed

Lines changed: 11 additions & 14 deletions

File tree

distribution/proxy-native/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -467,10 +467,6 @@
467467
<version>${project.version}</version>
468468
<scope>runtime</scope>
469469
<exclusions>
470-
<exclusion>
471-
<groupId>org.apache.seata</groupId>
472-
<artifactId>seata-all</artifactId>
473-
</exclusion>
474470
<exclusion>
475471
<groupId>commons-lang</groupId>
476472
<artifactId>commons-lang</artifactId>

distribution/proxy/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -502,10 +502,6 @@
502502
<version>${project.version}</version>
503503
<scope>runtime</scope>
504504
<exclusions>
505-
<exclusion>
506-
<groupId>org.apache.seata</groupId>
507-
<artifactId>seata-all</artifactId>
508-
</exclusion>
509505
<exclusion>
510506
<groupId>commons-lang</groupId>
511507
<artifactId>commons-lang</artifactId>

kernel/transaction/type/base/seata-at/pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,7 @@
3838
<groupId>org.apache.seata</groupId>
3939
<artifactId>seata-all</artifactId>
4040
<version>${seata.version}</version>
41-
<exclusions>
42-
<exclusion>
43-
<groupId>org.antlr</groupId>
44-
<artifactId>antlr4-runtime</artifactId>
45-
</exclusion>
46-
</exclusions>
41+
<scope>provided</scope>
4742
</dependency>
4843
<dependency>
4944
<groupId>commons-lang</groupId>

test/native/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
<artifactId>shardingsphere-test-native</artifactId>
2727
<name>${project.artifactId}</name>
2828

29+
<properties>
30+
<seata.version>2.5.0</seata.version>
31+
</properties>
32+
2933
<dependencies>
3034
<dependency>
3135
<groupId>org.apache.shardingsphere</groupId>
@@ -87,6 +91,12 @@
8791
<version>${project.version}</version>
8892
<scope>test</scope>
8993
</dependency>
94+
<dependency>
95+
<groupId>org.apache.seata</groupId>
96+
<artifactId>seata-all</artifactId>
97+
<version>${seata.version}</version>
98+
<scope>test</scope>
99+
</dependency>
90100

91101
<dependency>
92102
<groupId>com.microsoft.sqlserver</groupId>

0 commit comments

Comments
 (0)