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 c6e0e824df3 Move authority dependencies to distribution module (#36308)
c6e0e824df3 is described below
commit c6e0e824df33e84003caa03b69fd17692eff5054
Author: Liang Zhang <[email protected]>
AuthorDate: Thu Aug 14 23:17:11 2025 +0800
Move authority dependencies to distribution module (#36308)
* Move authority dependencies to distribution module
* Move authority dependencies to distribution module
* Move authority dependencies to distribution module
* Move authority dependencies to distribution module
* Move authority dependencies to distribution module
* Move authority dependencies to distribution module
* Move authority dependencies to distribution module
* Move authority dependencies to distribution module
---
distribution/jdbc/pom.xml | 12 ++++++++++++
distribution/proxy-native/pom.xml | 12 ++++++++++++
distribution/proxy/pom.xml | 12 ++++++++++++
infra/context/pom.xml | 35 ----------------------------------
jdbc/pom.xml | 6 ++++++
kernel/sql-federation/executor/pom.xml | 5 +++++
mode/core/pom.xml | 5 +++++
mode/type/cluster/core/pom.xml | 6 ++++++
proxy/backend/core/pom.xml | 12 ++++++++++++
proxy/backend/type/mysql/pom.xml | 6 ++++++
proxy/frontend/type/opengauss/pom.xml | 6 ++++++
proxy/frontend/type/postgresql/pom.xml | 6 ++++++
test/e2e/pom.xml | 10 ++++++++++
test/it/pipeline/pom.xml | 6 ++++++
test/native/pom.xml | 6 ++++++
15 files changed, 110 insertions(+), 35 deletions(-)
diff --git a/distribution/jdbc/pom.xml b/distribution/jdbc/pom.xml
index 41de1cc5fe6..863947b7244 100644
--- a/distribution/jdbc/pom.xml
+++ b/distribution/jdbc/pom.xml
@@ -52,6 +52,18 @@
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-simple</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-database</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
</dependencies>
<profiles>
diff --git a/distribution/proxy-native/pom.xml
b/distribution/proxy-native/pom.xml
index 984c76d5cd1..236ac77d327 100644
--- a/distribution/proxy-native/pom.xml
+++ b/distribution/proxy-native/pom.xml
@@ -48,6 +48,18 @@
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-simple</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-database</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-infra-reachability-metadata</artifactId>
diff --git a/distribution/proxy/pom.xml b/distribution/proxy/pom.xml
index 051cc5f45cf..a4875c9b48e 100644
--- a/distribution/proxy/pom.xml
+++ b/distribution/proxy/pom.xml
@@ -40,6 +40,18 @@
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-simple</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-database</artifactId>
+ <version>${project.version}</version>
+ <scope>runtime</scope>
+ </dependency>
<dependency>
<groupId>com.zaxxer</groupId>
diff --git a/infra/context/pom.xml b/infra/context/pom.xml
index e94c7ed591b..46cf1d2a5b9 100644
--- a/infra/context/pom.xml
+++ b/infra/context/pom.xml
@@ -37,41 +37,6 @@
<artifactId>shardingsphere-infra-executor</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-distsql-engine</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-authority-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-authority-simple</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-authority-database</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-single-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-transaction-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-sql-translator-core</artifactId>
- <version>${project.version}</version>
- </dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index 18743e1d87a..393ec2dc14a 100644
--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -120,6 +120,12 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-simple</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
diff --git a/kernel/sql-federation/executor/pom.xml
b/kernel/sql-federation/executor/pom.xml
index 391bcccacaf..f51ee33f560 100644
--- a/kernel/sql-federation/executor/pom.xml
+++ b/kernel/sql-federation/executor/pom.xml
@@ -42,6 +42,11 @@
<artifactId>shardingsphere-infra-context</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
diff --git a/mode/core/pom.xml b/mode/core/pom.xml
index a9a70baa8c8..39dd0b85836 100644
--- a/mode/core/pom.xml
+++ b/mode/core/pom.xml
@@ -37,6 +37,11 @@
<artifactId>shardingsphere-mode-node</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-single-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
diff --git a/mode/type/cluster/core/pom.xml b/mode/type/cluster/core/pom.xml
index 1159b5280d6..aff30055ab8 100644
--- a/mode/type/cluster/core/pom.xml
+++ b/mode/type/cluster/core/pom.xml
@@ -66,5 +66,11 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-simple</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
diff --git a/proxy/backend/core/pom.xml b/proxy/backend/core/pom.xml
index d33ce543d95..9da58f8df4b 100644
--- a/proxy/backend/core/pom.xml
+++ b/proxy/backend/core/pom.xml
@@ -207,6 +207,18 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-simple</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-database</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>com.h2database</groupId>
diff --git a/proxy/backend/type/mysql/pom.xml b/proxy/backend/type/mysql/pom.xml
index 6b4cd5b393f..c0a52f296de 100644
--- a/proxy/backend/type/mysql/pom.xml
+++ b/proxy/backend/type/mysql/pom.xml
@@ -55,5 +55,11 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-database</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
diff --git a/proxy/frontend/type/opengauss/pom.xml
b/proxy/frontend/type/opengauss/pom.xml
index e67a93453e5..6db1392edb2 100644
--- a/proxy/frontend/type/opengauss/pom.xml
+++ b/proxy/frontend/type/opengauss/pom.xml
@@ -49,6 +49,12 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-simple</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.opengauss</groupId>
diff --git a/proxy/frontend/type/postgresql/pom.xml
b/proxy/frontend/type/postgresql/pom.xml
index 5ef7829faa0..e4b775ec99f 100644
--- a/proxy/frontend/type/postgresql/pom.xml
+++ b/proxy/frontend/type/postgresql/pom.xml
@@ -49,6 +49,12 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-simple</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>commons-codec</groupId>
diff --git a/test/e2e/pom.xml b/test/e2e/pom.xml
index e150e3505fb..be4d5e63678 100644
--- a/test/e2e/pom.xml
+++ b/test/e2e/pom.xml
@@ -56,6 +56,16 @@
<artifactId>shardingsphere-infra-url-absolutepath</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-simple</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-database</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
diff --git a/test/it/pipeline/pom.xml b/test/it/pipeline/pom.xml
index 93f85ab9a9f..0127fad6af4 100644
--- a/test/it/pipeline/pom.xml
+++ b/test/it/pipeline/pom.xml
@@ -80,6 +80,12 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-simple</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
diff --git a/test/native/pom.xml b/test/native/pom.xml
index 4af41597fb9..6f9ea18acc2 100644
--- a/test/native/pom.xml
+++ b/test/native/pom.xml
@@ -87,6 +87,12 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-simple</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-transaction-xa-atomikos</artifactId>