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 acc23235ce5 Add sql-translator-native profile (#36314)
acc23235ce5 is described below

commit acc23235ce511a649f01f41e4b3482cfd107f4fe
Author: Liang Zhang <[email protected]>
AuthorDate: Fri Aug 15 19:28:41 2025 +0800

    Add sql-translator-native profile (#36314)
---
 distribution/jdbc/pom.xml         | 23 +++++++++++++++++------
 distribution/proxy-native/pom.xml | 29 ++++++++++++++++++++---------
 distribution/proxy/pom.xml        | 23 +++++++++++++++++------
 3 files changed, 54 insertions(+), 21 deletions(-)

diff --git a/distribution/jdbc/pom.xml b/distribution/jdbc/pom.xml
index ae95e31b402..e4ea408a29e 100644
--- a/distribution/jdbc/pom.xml
+++ b/distribution/jdbc/pom.xml
@@ -52,12 +52,6 @@
             <version>${project.version}</version>
             <scope>runtime</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-sql-translator-native-provider</artifactId>
-            <version>${project.version}</version>
-            <scope>runtime</scope>
-        </dependency>
     </dependencies>
     
     <profiles>
@@ -336,6 +330,12 @@
                     <version>${project.version}</version>
                     <scope>runtime</scope>
                 </dependency>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    
<artifactId>shardingsphere-sql-translator-native-provider</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
                 <dependency>
                     <groupId>org.apache.shardingsphere</groupId>
                     
<artifactId>shardingsphere-standalone-mode-repository-memory</artifactId>
@@ -598,6 +598,17 @@
                 </dependency>
             </dependencies>
         </profile>
+        <profile>
+            <id>sql-translator-native</id>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    
<artifactId>shardingsphere-sql-translator-native-provider</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
+            </dependencies>
+        </profile>
         
         <profile>
             <id>mode-repo-memory</id>
diff --git a/distribution/proxy-native/pom.xml 
b/distribution/proxy-native/pom.xml
index 395cade3d78..10c1f5354fe 100644
--- a/distribution/proxy-native/pom.xml
+++ b/distribution/proxy-native/pom.xml
@@ -41,22 +41,16 @@
             <artifactId>shardingsphere-proxy-bootstrap</artifactId>
             <version>${project.version}</version>
         </dependency>
-        
-        <dependency>
-            <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
-            <version>${project.version}</version>
-            <scope>runtime</scope>
-        </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-sql-translator-native-provider</artifactId>
+            <artifactId>shardingsphere-infra-reachability-metadata</artifactId>
             <version>${project.version}</version>
             <scope>runtime</scope>
         </dependency>
+        
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-infra-reachability-metadata</artifactId>
+            
<artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
             <version>${project.version}</version>
             <scope>runtime</scope>
         </dependency>
@@ -487,6 +481,12 @@
                         </exclusion>
                     </exclusions>
                 </dependency>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    
<artifactId>shardingsphere-sql-translator-native-provider</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
                 <dependency>
                     <groupId>org.apache.shardingsphere</groupId>
                     
<artifactId>shardingsphere-standalone-mode-repository-memory</artifactId>
@@ -801,6 +801,17 @@
                 </dependency>
             </dependencies>
         </profile>
+        <profile>
+            <id>sql-translator-native</id>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    
<artifactId>shardingsphere-sql-translator-native-provider</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
+            </dependencies>
+        </profile>
         
         <profile>
             <id>mode-repo-memory</id>
diff --git a/distribution/proxy/pom.xml b/distribution/proxy/pom.xml
index e5957239c25..fe6d087a4d8 100644
--- a/distribution/proxy/pom.xml
+++ b/distribution/proxy/pom.xml
@@ -40,12 +40,6 @@
             <version>${project.version}</version>
             <scope>runtime</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-sql-translator-native-provider</artifactId>
-            <version>${project.version}</version>
-            <scope>runtime</scope>
-        </dependency>
         
         <dependency>
             <groupId>com.zaxxer</groupId>
@@ -522,6 +516,12 @@
                         </exclusion>
                     </exclusions>
                 </dependency>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    
<artifactId>shardingsphere-sql-translator-native-provider</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
                 <dependency>
                     <groupId>org.apache.shardingsphere</groupId>
                     
<artifactId>shardingsphere-standalone-mode-repository-memory</artifactId>
@@ -836,6 +836,17 @@
                 </dependency>
             </dependencies>
         </profile>
+        <profile>
+            <id>sql-translator-native</id>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    
<artifactId>shardingsphere-sql-translator-native-provider</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
+            </dependencies>
+        </profile>
         
         <profile>
             <id>mode-repo-memory</id>

Reply via email to