From 026cb9ba902c93be085ecd24aef2200db551627b Mon Sep 17 00:00:00 2001 From: Congxian Qiu Date: Wed, 15 Jan 2025 10:32:25 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"[AMORO-3352]Add=20mysql-connector-j?= =?UTF-8?q?=20dependency=20by=20maven=20profile=E2=80=9C=20(#3405)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Revert "[AMORO-3352]Add mysql-connector-j dependency by maven profile (#3380)" This reverts commit 4be9821704521f8c8a2c9db7e305bae55d1fdccd. The license of MySQL is incompatible with the Apache License. Please see https://github.com/apache/amoro/issues/3352 for more information --- amoro-ams/pom.xml | 16 ++++++++-------- pom.xml | 14 ++++++-------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/amoro-ams/pom.xml b/amoro-ams/pom.xml index b46859a222..ebc862e40e 100644 --- a/amoro-ams/pom.xml +++ b/amoro-ams/pom.xml @@ -200,6 +200,12 @@ derby + + mysql + mysql-connector-java + provided + + org.apache.commons commons-dbcp2 @@ -397,13 +403,6 @@ ${pagehelper.version} - - com.mysql - mysql-connector-j - ${mysql-connector-j.version} - ${mysql-j-dependency-scope} - - org.apache.iceberg iceberg-data @@ -452,7 +451,8 @@ 1.19.6 test - + + diff --git a/pom.xml b/pom.xml index 130552a4a7..97a882b187 100644 --- a/pom.xml +++ b/pom.xml @@ -151,12 +151,10 @@ 32.1.1-jre 0.14.1 6.1.0 - 9.1.0 compile compile provided - provided @@ -628,6 +626,12 @@ ${derby-jdbc.version} + + mysql + mysql-connector-java + ${mysql-jdbc.version} + + org.apache.commons commons-dbcp2 @@ -1373,11 +1377,5 @@ compile - - mysql-j - - compile - -