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

zhangliang 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 a9d2f9964de Adjust frontend module dependencies and structure (#35370)
a9d2f9964de is described below

commit a9d2f9964de4a892713e7bbfb57097591e33a880
Author: Liang Zhang <[email protected]>
AuthorDate: Mon May 12 00:46:47 2025 +0800

    Adjust frontend module dependencies and structure (#35370)
    
    - Remove backend dependencies from frontend-core
    - Update backend dependency versions in frontend-type modules
    - Remove redundant frontend-spi dependencies
    - Adjust module dependencies to align with new architecture
---
 proxy/frontend/core/pom.xml            | 15 ---------------
 proxy/frontend/type/mysql/pom.xml      | 12 +-----------
 proxy/frontend/type/opengauss/pom.xml  |  5 +++++
 proxy/frontend/type/postgresql/pom.xml |  7 +------
 4 files changed, 7 insertions(+), 32 deletions(-)

diff --git a/proxy/frontend/core/pom.xml b/proxy/frontend/core/pom.xml
index d5e398bba0e..7d4acc25f68 100644
--- a/proxy/frontend/core/pom.xml
+++ b/proxy/frontend/core/pom.xml
@@ -32,21 +32,6 @@
             <artifactId>shardingsphere-proxy-frontend-spi</artifactId>
             <version>${project.version}</version>
         </dependency>
-        <dependency>
-            <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-proxy-backend-mysql</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-proxy-backend-postgresql</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-proxy-backend-opengauss</artifactId>
-            <version>${project.version}</version>
-        </dependency>
         
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
diff --git a/proxy/frontend/type/mysql/pom.xml 
b/proxy/frontend/type/mysql/pom.xml
index 429aa2718e5..c62c771c5cd 100644
--- a/proxy/frontend/type/mysql/pom.xml
+++ b/proxy/frontend/type/mysql/pom.xml
@@ -27,21 +27,11 @@
     <name>${project.artifactId}</name>
     
     <dependencies>
-        <dependency>
-            <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-proxy-frontend-spi</artifactId>
-            <version>${project.version}</version>
-        </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
             <artifactId>shardingsphere-proxy-frontend-core</artifactId>
             <version>${project.version}</version>
         </dependency>
-        <dependency>
-            <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-mysql-dialect-exception</artifactId>
-            <version>${project.version}</version>
-        </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
             <artifactId>shardingsphere-mysql-protocol</artifactId>
@@ -49,7 +39,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-proxy-backend-core</artifactId>
+            <artifactId>shardingsphere-proxy-backend-mysql</artifactId>
             <version>${project.version}</version>
         </dependency>
         
diff --git a/proxy/frontend/type/opengauss/pom.xml 
b/proxy/frontend/type/opengauss/pom.xml
index 0a3235e79b2..e5ea1c22bd9 100644
--- a/proxy/frontend/type/opengauss/pom.xml
+++ b/proxy/frontend/type/opengauss/pom.xml
@@ -37,6 +37,11 @@
             <artifactId>shardingsphere-proxy-frontend-postgresql</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.apache.shardingsphere</groupId>
+            <artifactId>shardingsphere-proxy-backend-opengauss</artifactId>
+            <version>${project.version}</version>
+        </dependency>
         
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
diff --git a/proxy/frontend/type/postgresql/pom.xml 
b/proxy/frontend/type/postgresql/pom.xml
index 3dc17b0e509..c5a6f5ba70c 100644
--- a/proxy/frontend/type/postgresql/pom.xml
+++ b/proxy/frontend/type/postgresql/pom.xml
@@ -27,11 +27,6 @@
     <name>${project.artifactId}</name>
     
     <dependencies>
-        <dependency>
-            <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-proxy-frontend-spi</artifactId>
-            <version>${project.version}</version>
-        </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
             <artifactId>shardingsphere-proxy-frontend-core</artifactId>
@@ -44,7 +39,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-proxy-backend-core</artifactId>
+            <artifactId>shardingsphere-proxy-backend-postgresql</artifactId>
             <version>${project.version}</version>
         </dependency>
         

Reply via email to