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 54b3595fdf9 Add feature-mask profile (#36011)
54b3595fdf9 is described below

commit 54b3595fdf9d3c9252ea7bb5e6495804fa95d1e0
Author: Liang Zhang <zhangli...@apache.org>
AuthorDate: Tue Jul 15 18:43:09 2025 +0800

    Add feature-mask profile (#36011)
---
 distribution/jdbc/pom.xml         | 17 +++++++++++++++++
 distribution/proxy-native/pom.xml | 17 +++++++++++++++++
 distribution/proxy/pom.xml        | 17 +++++++++++++++++
 jdbc/pom.xml                      |  5 -----
 proxy/backend/core/pom.xml        | 11 ++++++-----
 proxy/bootstrap/pom.xml           |  6 ++++++
 test/e2e/driver/pom.xml           |  6 ++++++
 7 files changed, 69 insertions(+), 10 deletions(-)

diff --git a/distribution/jdbc/pom.xml b/distribution/jdbc/pom.xml
index 9a88e18aaa6..0f3a7411a2f 100644
--- a/distribution/jdbc/pom.xml
+++ b/distribution/jdbc/pom.xml
@@ -183,6 +183,12 @@
                     <version>${project.version}</version>
                     <scope>runtime</scope>
                 </dependency>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    <artifactId>shardingsphere-mask-core</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
             </dependencies>
         </profile>
         
@@ -386,5 +392,16 @@
                 </dependency>
             </dependencies>
         </profile>
+        <profile>
+            <id>feature-mask</id>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    <artifactId>shardingsphere-mask-core</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>
diff --git a/distribution/proxy-native/pom.xml 
b/distribution/proxy-native/pom.xml
index a499b41a236..46779a0b652 100644
--- a/distribution/proxy-native/pom.xml
+++ b/distribution/proxy-native/pom.xml
@@ -269,6 +269,12 @@
                     <version>${project.version}</version>
                     <scope>runtime</scope>
                 </dependency>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    
<artifactId>shardingsphere-mask-distsql-handler</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
                 
                 <dependency>
                     <groupId>com.h2database</groupId>
@@ -530,5 +536,16 @@
                 </dependency>
             </dependencies>
         </profile>
+        <profile>
+            <id>feature-mask</id>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    
<artifactId>shardingsphere-mask-distsql-handler</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>
diff --git a/distribution/proxy/pom.xml b/distribution/proxy/pom.xml
index 58424bf4844..f8b18a76eb4 100644
--- a/distribution/proxy/pom.xml
+++ b/distribution/proxy/pom.xml
@@ -307,6 +307,12 @@
                     <version>${project.version}</version>
                     <scope>runtime</scope>
                 </dependency>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    
<artifactId>shardingsphere-mask-distsql-handler</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
                 
                 <dependency>
                     <groupId>com.h2database</groupId>
@@ -568,5 +574,16 @@
                 </dependency>
             </dependencies>
         </profile>
+        <profile>
+            <id>feature-mask</id>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    
<artifactId>shardingsphere-mask-distsql-handler</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index 5496e538295..9274817df20 100644
--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -83,11 +83,6 @@
             <artifactId>shardingsphere-encrypt-core</artifactId>
             <version>${project.version}</version>
         </dependency>
-        <dependency>
-            <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-mask-core</artifactId>
-            <version>${project.version}</version>
-        </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
             <artifactId>shardingsphere-sql-federation-core</artifactId>
diff --git a/proxy/backend/core/pom.xml b/proxy/backend/core/pom.xml
index eb6490d096c..7162570430a 100644
--- a/proxy/backend/core/pom.xml
+++ b/proxy/backend/core/pom.xml
@@ -57,11 +57,6 @@
             <artifactId>shardingsphere-encrypt-distsql-handler</artifactId>
             <version>${project.version}</version>
         </dependency>
-        <dependency>
-            <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-mask-distsql-handler</artifactId>
-            <version>${project.version}</version>
-        </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
             <artifactId>shardingsphere-authority-distsql-handler</artifactId>
@@ -203,6 +198,12 @@
             <version>${project.version}</version>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.shardingsphere</groupId>
+            <artifactId>shardingsphere-mask-distsql-handler</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
         
         <dependency>
             <groupId>com.h2database</groupId>
diff --git a/proxy/bootstrap/pom.xml b/proxy/bootstrap/pom.xml
index 03bc5217315..4ba27037948 100644
--- a/proxy/bootstrap/pom.xml
+++ b/proxy/bootstrap/pom.xml
@@ -181,6 +181,12 @@
                     <version>${project.version}</version>
                     <scope>runtime</scope>
                 </dependency>
+                <dependency>
+                    <groupId>org.apache.shardingsphere</groupId>
+                    
<artifactId>shardingsphere-mask-distsql-handler</artifactId>
+                    <version>${project.version}</version>
+                    <scope>runtime</scope>
+                </dependency>
                 
                 <dependency>
                     <groupId>com.h2database</groupId>
diff --git a/test/e2e/driver/pom.xml b/test/e2e/driver/pom.xml
index 0aad66b8015..694ca7eee55 100644
--- a/test/e2e/driver/pom.xml
+++ b/test/e2e/driver/pom.xml
@@ -101,6 +101,12 @@
             <version>${project.version}</version>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.shardingsphere</groupId>
+            <artifactId>shardingsphere-mask-core</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
         
         <dependency>
             <groupId>org.postgresql</groupId>

Reply via email to