This is an automated email from the ASF dual-hosted git repository.
jimin pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git
The following commit(s) were added to refs/heads/2.x by this push:
new e497609b80 optimize: remove mysql-connector-java from pom.xml (#6558)
e497609b80 is described below
commit e497609b806da27a0eb483d17c3133ce300844d5
Author: jimin <[email protected]>
AuthorDate: Sat May 18 17:02:35 2024 +0800
optimize: remove mysql-connector-java from pom.xml (#6558)
---
all/pom.xml | 5 -----
changes/en-us/2.x.md | 1 +
changes/zh-cn/2.x.md | 1 +
server/pom.xml | 1 +
4 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/all/pom.xml b/all/pom.xml
index 97cd30bbba..e25f728d8b 100644
--- a/all/pom.xml
+++ b/all/pom.xml
@@ -568,11 +568,6 @@
<artifactId>grpc-stub</artifactId>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <scope>provided</scope>
- </dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index b135bbb390..b2eec93459 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -139,6 +139,7 @@ Add changes here for all PR submitted to the 2.x branch.
- [[#6539](https://github.com/apache/incubator-seata/pull/6539)] add
subcomponents license
- [[#6540](https://github.com/apache/incubator-seata/pull/6540)] exclude
com.google.guava:listenablefuture
- [[#6549](https://github.com/apache/incubator-seata/pull/6549)] macos
workflow support arm testing
+- [[#6558](https://github.com/apache/incubator-seata/pull/6558)] remove
mysql-connector-java from pom.xml
### security:
- [[#6069](https://github.com/apache/incubator-seata/pull/6069)] Upgrade Guava
dependencies to fix security vulnerabilities
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index 8df775e61a..be80538785 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -137,6 +137,7 @@
- [[#6539](https://github.com/apache/incubator-seata/pull/6539)] 增加组件 license
- [[#6540](https://github.com/apache/incubator-seata/pull/6540)] 排除
com.google.guava:listenablefuture 依赖
- [[#6549](https://github.com/apache/incubator-seata/pull/6549)] 支持macos
arm架构单测
+- [[#6558](https://github.com/apache/incubator-seata/pull/6558)] y移除
mysql-connector-java 依赖
### security:
- [[#6069](https://github.com/apache/incubator-seata/pull/6069)]
升级Guava依赖版本,修复安全漏洞
diff --git a/server/pom.xml b/server/pom.xml
index af05df095e..2e6cef69f0 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -192,6 +192,7 @@
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
+ <scope>test</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.mariadb.jdbc</groupId>-->
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]