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 4f612c75130 Add shardingsphere-jdbc-dialect and
shardingsphere-proxy-dialect modules (#35465)
4f612c75130 is described below
commit 4f612c75130eac7880558b0a536368eee31b7ce6
Author: Liang Zhang <[email protected]>
AuthorDate: Mon May 19 22:17:12 2025 +0800
Add shardingsphere-jdbc-dialect and shardingsphere-proxy-dialect modules
(#35465)
* Add shardingsphere-jdbc-dialect and shardingsphere-proxy-dialect modules
* Add shardingsphere-jdbc-dialect and shardingsphere-proxy-dialect modules
---
distribution/jdbc/pom.xml | 96 ++---------
distribution/proxy-native/pom.xml | 257 ++---------------------------
distribution/proxy/pom.xml | 257 ++---------------------------
{proxy => jdbc-dialect/clickhouse}/pom.xml | 18 +-
{proxy => jdbc-dialect/doris}/pom.xml | 18 +-
{proxy => jdbc-dialect/firebird}/pom.xml | 18 +-
{proxy => jdbc-dialect/hive}/pom.xml | 18 +-
{proxy => jdbc-dialect/mariadb}/pom.xml | 30 +++-
{proxy => jdbc-dialect/mysql}/pom.xml | 24 ++-
{proxy => jdbc-dialect/opengauss}/pom.xml | 24 ++-
{proxy => jdbc-dialect/oracle}/pom.xml | 24 ++-
{proxy => jdbc-dialect}/pom.xml | 16 +-
{proxy => jdbc-dialect/postgresql}/pom.xml | 24 ++-
{proxy => jdbc-dialect/presto}/pom.xml | 18 +-
{proxy => jdbc-dialect/sqlserver}/pom.xml | 18 +-
pom.xml | 1 +
proxy/{ => dialect/clickhouse}/pom.xml | 25 ++-
proxy/{ => dialect/doris}/pom.xml | 18 +-
proxy/{ => dialect/firebird}/pom.xml | 24 ++-
proxy/{ => dialect/hive}/pom.xml | 24 ++-
proxy/dialect/mariadb/pom.xml | 61 +++++++
proxy/dialect/mysql/pom.xml | 61 +++++++
proxy/dialect/opengauss/pom.xml | 67 ++++++++
proxy/{ => dialect/oracle}/pom.xml | 24 ++-
proxy/{ => dialect}/pom.xml | 18 +-
proxy/dialect/postgresql/pom.xml | 67 ++++++++
proxy/{ => dialect/presto}/pom.xml | 24 ++-
proxy/{ => dialect/sqlserver}/pom.xml | 18 +-
proxy/pom.xml | 1 +
29 files changed, 578 insertions(+), 715 deletions(-)
diff --git a/distribution/jdbc/pom.xml b/distribution/jdbc/pom.xml
index 64352566177..b34bbfcd8a3 100644
--- a/distribution/jdbc/pom.xml
+++ b/distribution/jdbc/pom.xml
@@ -112,59 +112,31 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-postgresql</artifactId>
+
<artifactId>shardingsphere-jdbc-dialect-postgresql</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-binder-postgresql</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect-mysql</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
-
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-oracle</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect-oracle</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-oracle</artifactId>
+
<artifactId>shardingsphere-jdbc-dialect-sqlserver</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
-
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-sqlserver</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-binder-opengauss</artifactId>
+
<artifactId>shardingsphere-jdbc-dialect-opengauss</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -195,13 +167,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-postgresql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-binder-postgresql</artifactId>
+
<artifactId>shardingsphere-jdbc-dialect-postgresql</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -212,13 +178,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-mysql</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect-mysql</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -229,13 +189,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-oracle</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-oracle</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect-oracle</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -246,7 +200,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-sqlserver</artifactId>
+
<artifactId>shardingsphere-jdbc-dialect-sqlserver</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -257,13 +211,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-binder-opengauss</artifactId>
+
<artifactId>shardingsphere-jdbc-dialect-opengauss</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -274,7 +222,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-firebird</artifactId>
+
<artifactId>shardingsphere-jdbc-dialect-firebird</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -285,7 +233,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-hive</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect-hive</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -296,7 +244,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-presto</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect-presto</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -307,7 +255,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-clickhouse</artifactId>
+
<artifactId>shardingsphere-jdbc-dialect-clickhouse</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -318,7 +266,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-doris</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect-doris</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -329,19 +277,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-database-mariadb</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-mysql</artifactId>
+
<artifactId>shardingsphere-jdbc-dialect-mariadb</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
diff --git a/distribution/proxy-native/pom.xml
b/distribution/proxy-native/pom.xml
index 8b5321aedc8..7aa6548a997 100644
--- a/distribution/proxy-native/pom.xml
+++ b/distribution/proxy-native/pom.xml
@@ -241,113 +241,31 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-postgresql</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-postgresql</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-binder-postgresql</artifactId>
+ <artifactId>shardingsphere-proxy-dialect-mysql</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-postgresql-protocol</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-oracle</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-postgresql</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-sqlserver</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-data-pipeline-postgresql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-mysql-protocol</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-data-pipeline-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-oracle</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-oracle</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-sqlserver</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-binder-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-opengauss-protocol</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-data-pipeline-opengauss</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-opengauss</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -371,16 +289,6 @@
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.opengauss</groupId>
- <artifactId>opengauss-jdbc</artifactId>
- <scope>runtime</scope>
- </dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
@@ -394,39 +302,10 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-postgresql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-binder-postgresql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-postgresql-protocol</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-postgresql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-data-pipeline-postgresql</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-postgresql</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <scope>runtime</scope>
- </dependency>
</dependencies>
</profile>
<profile>
@@ -434,31 +313,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-mysql-protocol</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-data-pipeline-mysql</artifactId>
+ <artifactId>shardingsphere-proxy-dialect-mysql</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -469,13 +324,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-oracle</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-oracle</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-oracle</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -486,7 +335,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-sqlserver</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-sqlserver</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -497,39 +346,10 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-opengauss</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-opengauss</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-binder-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-opengauss-protocol</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-data-pipeline-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.opengauss</groupId>
- <artifactId>opengauss-jdbc</artifactId>
- <scope>runtime</scope>
- </dependency>
</dependencies>
</profile>
<profile>
@@ -537,15 +357,10 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-firebird</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-firebird</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>org.firebirdsql.jdbc</groupId>
- <artifactId>jaybird</artifactId>
- <scope>runtime</scope>
- </dependency>
</dependencies>
</profile>
<profile>
@@ -553,15 +368,10 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-hive</artifactId>
+ <artifactId>shardingsphere-proxy-dialect-hive</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>org.apache.hive</groupId>
- <artifactId>hive-jdbc</artifactId>
- <scope>runtime</scope>
- </dependency>
</dependencies>
</profile>
<profile>
@@ -569,15 +379,10 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-presto</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-presto</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>com.facebook.presto</groupId>
- <artifactId>presto-jdbc</artifactId>
- <scope>runtime</scope>
- </dependency>
</dependencies>
</profile>
<profile>
@@ -585,16 +390,10 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-clickhouse</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-clickhouse</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>com.clickhouse</groupId>
- <artifactId>clickhouse-jdbc</artifactId>
- <classifier>http</classifier>
- <scope>runtime</scope>
- </dependency>
</dependencies>
</profile>
<profile>
@@ -602,7 +401,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-doris</artifactId>
+ <artifactId>shardingsphere-proxy-dialect-doris</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -613,31 +412,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-database-mariadb</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-mysql-protocol</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-mysql</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-mariadb</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
diff --git a/distribution/proxy/pom.xml b/distribution/proxy/pom.xml
index 49c7b1e96a6..5a333aa0e7e 100644
--- a/distribution/proxy/pom.xml
+++ b/distribution/proxy/pom.xml
@@ -241,113 +241,31 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-postgresql</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-postgresql</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-binder-postgresql</artifactId>
+ <artifactId>shardingsphere-proxy-dialect-mysql</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-postgresql-protocol</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-oracle</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-postgresql</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-sqlserver</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-data-pipeline-postgresql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-mysql-protocol</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-data-pipeline-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-oracle</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-oracle</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-sqlserver</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-binder-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-opengauss-protocol</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-data-pipeline-opengauss</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-opengauss</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -371,16 +289,6 @@
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.opengauss</groupId>
- <artifactId>opengauss-jdbc</artifactId>
- <scope>runtime</scope>
- </dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
@@ -394,39 +302,10 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-postgresql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-binder-postgresql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-postgresql-protocol</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-postgresql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-data-pipeline-postgresql</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-postgresql</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <scope>runtime</scope>
- </dependency>
</dependencies>
</profile>
<profile>
@@ -434,31 +313,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-mysql-protocol</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-data-pipeline-mysql</artifactId>
+ <artifactId>shardingsphere-proxy-dialect-mysql</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -469,13 +324,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-oracle</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-oracle</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-oracle</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -486,7 +335,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-sqlserver</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-sqlserver</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -497,39 +346,10 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-opengauss</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-opengauss</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-binder-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-opengauss-protocol</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-data-pipeline-opengauss</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.opengauss</groupId>
- <artifactId>opengauss-jdbc</artifactId>
- <scope>runtime</scope>
- </dependency>
</dependencies>
</profile>
<profile>
@@ -537,15 +357,10 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-firebird</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-firebird</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>org.firebirdsql.jdbc</groupId>
- <artifactId>jaybird</artifactId>
- <scope>runtime</scope>
- </dependency>
</dependencies>
</profile>
<profile>
@@ -553,15 +368,10 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-hive</artifactId>
+ <artifactId>shardingsphere-proxy-dialect-hive</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>org.apache.hive</groupId>
- <artifactId>hive-jdbc</artifactId>
- <scope>runtime</scope>
- </dependency>
</dependencies>
</profile>
<profile>
@@ -569,15 +379,10 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-presto</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-presto</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>com.facebook.presto</groupId>
- <artifactId>presto-jdbc</artifactId>
- <scope>runtime</scope>
- </dependency>
</dependencies>
</profile>
<profile>
@@ -585,16 +390,10 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-parser-sql-clickhouse</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-clickhouse</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>com.clickhouse</groupId>
- <artifactId>clickhouse-jdbc</artifactId>
- <classifier>http</classifier>
- <scope>runtime</scope>
- </dependency>
</dependencies>
</profile>
<profile>
@@ -602,7 +401,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-doris</artifactId>
+ <artifactId>shardingsphere-proxy-dialect-doris</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
@@ -613,31 +412,7 @@
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-infra-database-mariadb</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-sql-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-binder-mysql</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-mysql-protocol</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-proxy-frontend-mysql</artifactId>
+
<artifactId>shardingsphere-proxy-dialect-mariadb</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
diff --git a/proxy/pom.xml b/jdbc-dialect/clickhouse/pom.xml
similarity index 75%
copy from proxy/pom.xml
copy to jdbc-dialect/clickhouse/pom.xml
index 3ca30edda84..1a1baf483d9 100644
--- a/proxy/pom.xml
+++ b/jdbc-dialect/clickhouse/pom.xml
@@ -20,16 +20,18 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-jdbc-dialect-clickhouse</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-clickhouse</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/jdbc-dialect/doris/pom.xml
similarity index 75%
copy from proxy/pom.xml
copy to jdbc-dialect/doris/pom.xml
index 3ca30edda84..aeea472e284 100644
--- a/proxy/pom.xml
+++ b/jdbc-dialect/doris/pom.xml
@@ -20,16 +20,18 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-jdbc-dialect-doris</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-doris</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/jdbc-dialect/firebird/pom.xml
similarity index 75%
copy from proxy/pom.xml
copy to jdbc-dialect/firebird/pom.xml
index 3ca30edda84..2f26561af58 100644
--- a/proxy/pom.xml
+++ b/jdbc-dialect/firebird/pom.xml
@@ -20,16 +20,18 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-jdbc-dialect-firebird</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-firebird</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/jdbc-dialect/hive/pom.xml
similarity index 75%
copy from proxy/pom.xml
copy to jdbc-dialect/hive/pom.xml
index 3ca30edda84..1150d9983ac 100644
--- a/proxy/pom.xml
+++ b/jdbc-dialect/hive/pom.xml
@@ -20,16 +20,18 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-jdbc-dialect-hive</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-hive</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/jdbc-dialect/mariadb/pom.xml
similarity index 57%
copy from proxy/pom.xml
copy to jdbc-dialect/mariadb/pom.xml
index 3ca30edda84..6976ebce638 100644
--- a/proxy/pom.xml
+++ b/jdbc-dialect/mariadb/pom.xml
@@ -20,16 +20,30 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-jdbc-dialect-mariadb</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-database-mariadb</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-mysql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-binder-mysql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/jdbc-dialect/mysql/pom.xml
similarity index 65%
copy from proxy/pom.xml
copy to jdbc-dialect/mysql/pom.xml
index 3ca30edda84..bec0702c448 100644
--- a/proxy/pom.xml
+++ b/jdbc-dialect/mysql/pom.xml
@@ -20,16 +20,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-jdbc-dialect-mysql</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-mysql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-binder-mysql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/jdbc-dialect/opengauss/pom.xml
similarity index 65%
copy from proxy/pom.xml
copy to jdbc-dialect/opengauss/pom.xml
index 3ca30edda84..f0f177184f4 100644
--- a/proxy/pom.xml
+++ b/jdbc-dialect/opengauss/pom.xml
@@ -20,16 +20,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-jdbc-dialect-opengauss</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-opengauss</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-binder-opengauss</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/jdbc-dialect/oracle/pom.xml
similarity index 65%
copy from proxy/pom.xml
copy to jdbc-dialect/oracle/pom.xml
index 3ca30edda84..17cbbe44b66 100644
--- a/proxy/pom.xml
+++ b/jdbc-dialect/oracle/pom.xml
@@ -20,16 +20,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-jdbc-dialect-oracle</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-oracle</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-binder-oracle</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/jdbc-dialect/pom.xml
similarity index 76%
copy from proxy/pom.xml
copy to jdbc-dialect/pom.xml
index 3ca30edda84..03958be6aaf 100644
--- a/proxy/pom.xml
+++ b/jdbc-dialect/pom.xml
@@ -23,13 +23,21 @@
<artifactId>shardingsphere</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect</artifactId>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
+ <module>postgresql</module>
+ <module>mysql</module>
+ <module>oracle</module>
+ <module>sqlserver</module>
+ <module>opengauss</module>
+ <module>firebird</module>
+ <module>hive</module>
+ <module>presto</module>
+ <module>clickhouse</module>
+ <module>doris</module>
+ <module>mariadb</module>
</modules>
</project>
diff --git a/proxy/pom.xml b/jdbc-dialect/postgresql/pom.xml
similarity index 65%
copy from proxy/pom.xml
copy to jdbc-dialect/postgresql/pom.xml
index 3ca30edda84..9f14436a961 100644
--- a/proxy/pom.xml
+++ b/jdbc-dialect/postgresql/pom.xml
@@ -20,16 +20,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-jdbc-dialect-postgresql</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-postgresql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-binder-postgresql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/jdbc-dialect/presto/pom.xml
similarity index 75%
copy from proxy/pom.xml
copy to jdbc-dialect/presto/pom.xml
index 3ca30edda84..b678b92700f 100644
--- a/proxy/pom.xml
+++ b/jdbc-dialect/presto/pom.xml
@@ -20,16 +20,18 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-jdbc-dialect-presto</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-presto</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/jdbc-dialect/sqlserver/pom.xml
similarity index 75%
copy from proxy/pom.xml
copy to jdbc-dialect/sqlserver/pom.xml
index 3ca30edda84..c047f5778d7 100644
--- a/proxy/pom.xml
+++ b/jdbc-dialect/sqlserver/pom.xml
@@ -20,16 +20,18 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-jdbc-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-jdbc-dialect-sqlserver</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-sqlserver</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/pom.xml b/pom.xml
index bd94c44353a..8b4395818e1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,6 +38,7 @@
<module>kernel</module>
<module>jdbc</module>
+ <module>jdbc-dialect</module>
<module>proxy</module>
<module>features</module>
diff --git a/proxy/pom.xml b/proxy/dialect/clickhouse/pom.xml
similarity index 66%
copy from proxy/pom.xml
copy to proxy/dialect/clickhouse/pom.xml
index 3ca30edda84..b8aebe55fb9 100644
--- a/proxy/pom.xml
+++ b/proxy/dialect/clickhouse/pom.xml
@@ -20,16 +20,25 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-proxy-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-proxy-dialect-clickhouse</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-clickhouse</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.clickhouse</groupId>
+ <artifactId>clickhouse-jdbc</artifactId>
+ <classifier>http</classifier>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/proxy/dialect/doris/pom.xml
similarity index 75%
copy from proxy/pom.xml
copy to proxy/dialect/doris/pom.xml
index 3ca30edda84..ccd520e37b1 100644
--- a/proxy/pom.xml
+++ b/proxy/dialect/doris/pom.xml
@@ -20,16 +20,18 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-proxy-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-proxy-dialect-doris</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-doris</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/proxy/dialect/firebird/pom.xml
similarity index 67%
copy from proxy/pom.xml
copy to proxy/dialect/firebird/pom.xml
index 3ca30edda84..48815103b11 100644
--- a/proxy/pom.xml
+++ b/proxy/dialect/firebird/pom.xml
@@ -20,16 +20,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-proxy-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-proxy-dialect-firebird</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-firebird</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.firebirdsql.jdbc</groupId>
+ <artifactId>jaybird</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/proxy/dialect/hive/pom.xml
similarity index 68%
copy from proxy/pom.xml
copy to proxy/dialect/hive/pom.xml
index 3ca30edda84..293829e5410 100644
--- a/proxy/pom.xml
+++ b/proxy/dialect/hive/pom.xml
@@ -20,16 +20,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-proxy-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-proxy-dialect-hive</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-hive</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.hive</groupId>
+ <artifactId>hive-jdbc</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/dialect/mariadb/pom.xml b/proxy/dialect/mariadb/pom.xml
new file mode 100644
index 00000000000..8637764d9c7
--- /dev/null
+++ b/proxy/dialect/mariadb/pom.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect</artifactId>
+ <version>5.5.3-SNAPSHOT</version>
+ </parent>
+ <artifactId>shardingsphere-proxy-dialect-mariadb</artifactId>
+ <name>${project.artifactId}</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-database-mariadb</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-mysql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-binder-mysql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-mysql-protocol</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-frontend-mysql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/proxy/dialect/mysql/pom.xml b/proxy/dialect/mysql/pom.xml
new file mode 100644
index 00000000000..3156b10a2ad
--- /dev/null
+++ b/proxy/dialect/mysql/pom.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect</artifactId>
+ <version>5.5.3-SNAPSHOT</version>
+ </parent>
+ <artifactId>shardingsphere-proxy-dialect-mysql</artifactId>
+ <name>${project.artifactId}</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-mysql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-binder-mysql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-mysql-protocol</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-frontend-mysql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-data-pipeline-mysql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/proxy/dialect/opengauss/pom.xml b/proxy/dialect/opengauss/pom.xml
new file mode 100644
index 00000000000..f9c3ed23a45
--- /dev/null
+++ b/proxy/dialect/opengauss/pom.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect</artifactId>
+ <version>5.5.3-SNAPSHOT</version>
+ </parent>
+ <artifactId>shardingsphere-proxy-dialect-opengauss</artifactId>
+ <name>${project.artifactId}</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-opengauss</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-binder-opengauss</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-opengauss-protocol</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-frontend-opengauss</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-data-pipeline-opengauss</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.opengauss</groupId>
+ <artifactId>opengauss-jdbc</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/proxy/pom.xml b/proxy/dialect/oracle/pom.xml
similarity index 65%
copy from proxy/pom.xml
copy to proxy/dialect/oracle/pom.xml
index 3ca30edda84..3044f728309 100644
--- a/proxy/pom.xml
+++ b/proxy/dialect/oracle/pom.xml
@@ -20,16 +20,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-proxy-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-proxy-dialect-oracle</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-oracle</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-binder-oracle</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/proxy/dialect/pom.xml
similarity index 73%
copy from proxy/pom.xml
copy to proxy/dialect/pom.xml
index 3ca30edda84..bb1be9f4049 100644
--- a/proxy/pom.xml
+++ b/proxy/dialect/pom.xml
@@ -20,16 +20,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-proxy</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
+ <artifactId>shardingsphere-proxy-dialect</artifactId>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
+ <module>postgresql</module>
+ <module>mysql</module>
+ <module>oracle</module>
+ <module>sqlserver</module>
+ <module>opengauss</module>
+ <module>firebird</module>
+ <module>hive</module>
+ <module>presto</module>
+ <module>clickhouse</module>
+ <module>doris</module>
+ <module>mariadb</module>
</modules>
</project>
diff --git a/proxy/dialect/postgresql/pom.xml b/proxy/dialect/postgresql/pom.xml
new file mode 100644
index 00000000000..e329073ba24
--- /dev/null
+++ b/proxy/dialect/postgresql/pom.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect</artifactId>
+ <version>5.5.3-SNAPSHOT</version>
+ </parent>
+ <artifactId>shardingsphere-proxy-dialect-postgresql</artifactId>
+ <name>${project.artifactId}</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-postgresql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-binder-postgresql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-postgresql-protocol</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-frontend-postgresql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-data-pipeline-postgresql</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/proxy/pom.xml b/proxy/dialect/presto/pom.xml
similarity index 67%
copy from proxy/pom.xml
copy to proxy/dialect/presto/pom.xml
index 3ca30edda84..c118684d42d 100644
--- a/proxy/pom.xml
+++ b/proxy/dialect/presto/pom.xml
@@ -20,16 +20,24 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-proxy-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-proxy-dialect-presto</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-presto</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.facebook.presto</groupId>
+ <artifactId>presto-jdbc</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/proxy/dialect/sqlserver/pom.xml
similarity index 75%
copy from proxy/pom.xml
copy to proxy/dialect/sqlserver/pom.xml
index 3ca30edda84..feeaa9a89ab 100644
--- a/proxy/pom.xml
+++ b/proxy/dialect/sqlserver/pom.xml
@@ -20,16 +20,18 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere</artifactId>
+ <artifactId>shardingsphere-proxy-dialect</artifactId>
<version>5.5.3-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-proxy</artifactId>
- <packaging>pom</packaging>
+ <artifactId>shardingsphere-proxy-dialect-sqlserver</artifactId>
<name>${project.artifactId}</name>
- <modules>
- <module>frontend</module>
- <module>backend</module>
- <module>bootstrap</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-sqlserver</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/proxy/pom.xml b/proxy/pom.xml
index 3ca30edda84..5c904dae789 100644
--- a/proxy/pom.xml
+++ b/proxy/pom.xml
@@ -31,5 +31,6 @@
<module>frontend</module>
<module>backend</module>
<module>bootstrap</module>
+ <module>dialect</module>
</modules>
</project>