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

terrymanu 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 55975d6c742 Standardize Maven arguments across workflows (#40134)
55975d6c742 is described below

commit 55975d6c74231c4b2068d717da1c6aa6591474ff
Author: Liang Zhang <[email protected]>
AuthorDate: Sat Oct 10 15:41:59 2026 +0800

    Standardize Maven arguments across workflows (#40134)
---
 .github/workflows/ci-graalvm.yml            |  1 +
 .github/workflows/ci-mcp.yml                |  9 ++++-----
 .github/workflows/ci.yml                    |  3 ++-
 .github/workflows/e2e-agent.yml             |  7 ++++---
 .github/workflows/e2e-mcp.yml               |  7 ++++---
 .github/workflows/e2e-operation.yml         |  5 +++--
 .github/workflows/e2e-sql.yml               |  7 ++++---
 .github/workflows/nightly-build.yml         | 15 ++++++++-------
 .github/workflows/nightly-check.yml         |  7 ++++---
 .github/workflows/nightly-ci.yml            |  5 +++--
 .github/workflows/nightly-e2e-operation.yml |  5 +++--
 .github/workflows/nightly-e2e-sql.yml       |  5 +++--
 .github/workflows/nightly-sql-parser.yml    |  5 +++--
 .github/workflows/release-mcp.yml           | 13 ++++++-------
 .github/workflows/required-check.yml        |  3 +++
 15 files changed, 55 insertions(+), 42 deletions(-)

diff --git a/.github/workflows/ci-graalvm.yml b/.github/workflows/ci-graalvm.yml
index cbf22686ca6..e74a32faa7f 100644
--- a/.github/workflows/ci-graalvm.yml
+++ b/.github/workflows/ci-graalvm.yml
@@ -40,6 +40,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false
 
 jobs:
diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.yml
index 0544a74a7d7..c04e287f905 100644
--- a/.github/workflows/ci-mcp.yml
+++ b/.github/workflows/ci-mcp.yml
@@ -36,6 +36,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false
 
 jobs:
@@ -64,10 +65,9 @@ jobs:
           MCP_MODULES="${MCP_MODULES},mcp/bootstrap,mcp/registry"
           ./mvnw -pl "${MCP_MODULES}" -am install \
             -DskipITs -Dspotless.skip=true \
-            -Dsurefire.failIfNoSpecifiedTests=false \
-            -B -ntp
+            -Dsurefire.failIfNoSpecifiedTests=false
       - name: Run MCP HTTP Integration Test
-        run: ./mvnw -pl mcp/bootstrap verify -DskipITs=false 
-Dspotless.skip=true -B -ntp
+        run: ./mvnw -pl mcp/bootstrap verify -DskipITs=false 
-Dspotless.skip=true
       - name: Verify MCP Metadata Pagination Coverage
         shell: bash
         run: |
@@ -75,5 +75,4 @@ jobs:
           ./mvnw -pl mcp/core verify -Pcoverage-check \
             -DskipITs -Dspotless.skip=true -Djacoco.skip=false \
             
-Djacoco.check.class.pattern='org.apache.shardingsphere.mcp.core.tool.handler.metadata.SearchMetadata*'
 \
-            -Dsurefire.failIfNoSpecifiedTests=false \
-            -B -ntp
+            -Dsurefire.failIfNoSpecifiedTests=false
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 844228891ad..08b4af11fef 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -44,6 +44,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false
 
 jobs:
@@ -61,4 +62,4 @@ jobs:
       - uses: actions/[email protected]
       - uses: ./.github/actions/setup-build-environment
       - name: Build and Run Tests
-        run: ./mvnw clean install -T1C -B -ntp -fae
+        run: ./mvnw clean install -T1C
diff --git a/.github/workflows/e2e-agent.yml b/.github/workflows/e2e-agent.yml
index cc076edfb6f..b253440b321 100644
--- a/.github/workflows/e2e-agent.yml
+++ b/.github/workflows/e2e-agent.yml
@@ -46,6 +46,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false
   MAVEN_REPOSITORY_DIR: ../.e2e-maven/repository
 
@@ -87,7 +88,7 @@ jobs:
           image: apache/shardingsphere-jdbc-agent-test
       - name: Build Project
         if: steps.prepare-proxy-image.outputs.cache-hit != 'true' || 
steps.prepare-jdbc-image.outputs.cache-hit != 'true'
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -B clean 
install -DskipTests -Prelease,default-dep
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" clean install 
-DskipTests -Prelease,default-dep
       - name: Build Proxy E2E Image
         if: steps.prepare-proxy-image.outputs.cache-hit != 'true'
         shell: bash
@@ -187,6 +188,6 @@ jobs:
           artifact-id: ${{ needs.build-e2e-image.outputs.jdbc-artifact-id }}
           restore-maven-repository: 'false'
       - name: Build Project
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -B clean 
install -am -pl test/e2e/agent/plugins/${{ matrix.feature }}/${{ matrix.plugin 
}} -DskipTests
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" clean install 
-am -pl test/e2e/agent/plugins/${{ matrix.feature }}/${{ matrix.plugin }} 
-DskipTests
       - name: Run E2E Test
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -nsu -B install 
-f test/e2e/agent/plugins/${{ matrix.feature }}/${{ matrix.plugin }}/pom.xml 
-De2e.run.type=DOCKER -De2e.env.adapter=${{ matrix.adapter }} 
-De2e.env.plugin=${{ matrix.plugin }} -Dproxy.image="${{ 
steps.download-proxy-image.outputs.image }}" -Djdbc.project.image="${{ 
steps.download-jdbc-image.outputs.image }}"
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -nsu install -f 
test/e2e/agent/plugins/${{ matrix.feature }}/${{ matrix.plugin }}/pom.xml 
-De2e.run.type=DOCKER -De2e.env.adapter=${{ matrix.adapter }} 
-De2e.env.plugin=${{ matrix.plugin }} -Dproxy.image="${{ 
steps.download-proxy-image.outputs.image }}" -Djdbc.project.image="${{ 
steps.download-jdbc-image.outputs.image }}"
diff --git a/.github/workflows/e2e-mcp.yml b/.github/workflows/e2e-mcp.yml
index 7e2da3ffe6b..0d7a58ede1c 100644
--- a/.github/workflows/e2e-mcp.yml
+++ b/.github/workflows/e2e-mcp.yml
@@ -42,6 +42,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false
   MAVEN_REPOSITORY_DIR: ../.e2e-maven/repository
   MCP_CONFORMANCE_REF: 21a9a2febd7100d7c17ac1021ee7f2ed9f66a1e0
@@ -80,7 +81,7 @@ jobs:
           docker version
           docker system df
       - name: Build MCP E2E Test Dependencies and Distribution
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -pl 
test/e2e/mcp,distribution/mcp -am install -DskipTests -DskipITs 
-Dspotless.skip=true -B -ntp
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -pl 
test/e2e/mcp,distribution/mcp -am install -DskipTests -DskipITs 
-Dspotless.skip=true
       - name: Build MCP Distribution Image
         if: steps.prepare-image.outputs.cache-hit != 'true'
         env:
@@ -142,7 +143,7 @@ jobs:
           restore-maven-repository: 'false'
           restore-distribution: 'true'
       - name: Run MCP Functionality E2E
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -pl 
test/e2e/mcp verify -Pe2e.mcp.functionality -De2e.run.type=DOCKER 
-Dmcp.e2e.container.image="${{ steps.download-distribution.outputs.image }}" 
-Dmcp.e2e.artifact-root="${{ github.workspace 
}}/test/e2e/mcp/target/functionality-e2e" -Dspotless.skip=true -B -ntp
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -pl 
test/e2e/mcp verify -Pe2e.mcp.functionality -De2e.run.type=DOCKER 
-Dmcp.e2e.container.image="${{ steps.download-distribution.outputs.image }}" 
-Dmcp.e2e.artifact-root="${{ github.workspace 
}}/test/e2e/mcp/target/functionality-e2e" -Dspotless.skip=true
       - name: Upload MCP Functionality E2E Artifacts
         if: always()
         uses: actions/upload-artifact@v6
@@ -324,7 +325,7 @@ jobs:
       - name: Run MCP LLM E2E
         env:
           TESTCONTAINERS_RYUK_DISABLED: 'true'
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -pl 
test/e2e/mcp verify -Pe2e.mcp.llm -De2e.run.type=DOCKER -Dspotless.skip=true 
-Dit.test='${{ matrix.test }}' -Dmcp.llm.artifact-root="${{ github.workspace 
}}/test/e2e/mcp/target/llm-e2e" -Dmcp.llm.run-id=gha-${{ github.run_id }}-${{ 
github.run_attempt }}-${{ matrix.id }} -B -ntp
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -pl 
test/e2e/mcp verify -Pe2e.mcp.llm -De2e.run.type=DOCKER -Dspotless.skip=true 
-Dit.test='${{ matrix.test }}' -Dmcp.llm.artifact-root="${{ github.workspace 
}}/test/e2e/mcp/target/llm-e2e" -Dmcp.llm.run-id=gha-${{ github.run_id }}-${{ 
github.run_attempt }}-${{ matrix.id }}
       - name: Upload MCP LLM E2E Artifacts
         if: always()
         uses: actions/upload-artifact@v6
diff --git a/.github/workflows/e2e-operation.yml 
b/.github/workflows/e2e-operation.yml
index 8bbd21f4ed5..4cd8869382e 100644
--- a/.github/workflows/e2e-operation.yml
+++ b/.github/workflows/e2e-operation.yml
@@ -32,6 +32,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dfailsafe.skipAfterFailureCount=1 
-Dio.netty.leakDetectionLevel=advanced
   MAVEN_REPOSITORY_DIR: ../.e2e-maven/repository
 
@@ -80,7 +81,7 @@ jobs:
           type: source
           image: apache/shardingsphere-proxy-test
       - name: Build E2E Image
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -B clean 
install -am -pl 
test/e2e/operation/transaction,test/e2e/operation/pipeline,test/e2e/operation/showprocesslist
 -Pe2e.env.docker -DskipTests -Ddocker.image.name="${{ 
steps.prepare-image.outputs.image }}" -Dexec.skip=${{ 
steps.prepare-image.outputs.cache-hit == 'true' }}
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" clean install 
-am -pl 
test/e2e/operation/transaction,test/e2e/operation/pipeline,test/e2e/operation/showprocesslist
 -Pe2e.env.docker -DskipTests -Ddocker.image.name="${{ 
steps.prepare-image.outputs.image }}" -Dexec.skip=${{ 
steps.prepare-image.outputs.cache-hit == 'true' }}
       - name: Save E2E Image Cache
         if: steps.prepare-image.outputs.cache-hit != 'true'
         uses: ./.github/actions/prepare-e2e-docker
@@ -146,4 +147,4 @@ jobs:
           maven-repository-dir: ${{ env.MAVEN_REPOSITORY_DIR }}
           artifact-id: ${{ needs.prepare-e2e-artifacts.outputs.artifact-id }}
       - name: Run ${{ matrix.operation }} on ${{ matrix.image.version }}
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -nsu -B install 
-f test/e2e/operation/${{ matrix.operation }}/pom.xml -De2e.run.type=docker 
-D${{ matrix.image.type }}=${{ matrix.image.version }} 
-De2e.docker.proxy.image="${{ steps.download-e2e-artifacts.outputs.image }}"
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -nsu install -f 
test/e2e/operation/${{ matrix.operation }}/pom.xml -De2e.run.type=docker -D${{ 
matrix.image.type }}=${{ matrix.image.version }} -De2e.docker.proxy.image="${{ 
steps.download-e2e-artifacts.outputs.image }}"
diff --git a/.github/workflows/e2e-sql.yml b/.github/workflows/e2e-sql.yml
index decd1c0bfff..4a1e57f2982 100644
--- a/.github/workflows/e2e-sql.yml
+++ b/.github/workflows/e2e-sql.yml
@@ -42,6 +42,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false
   MAVEN_REPOSITORY_DIR: ../.e2e-maven/repository
   SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
@@ -153,7 +154,7 @@ jobs:
           type: source
           image: apache/shardingsphere-proxy-test
       - name: Build E2E Image
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -B clean 
install -am -pl test/e2e/sql -Pe2e.env.docker -DskipTests 
-Ddocker.image.name="${{ steps.prepare-image.outputs.image }}" -Dexec.skip=${{ 
steps.prepare-image.outputs.cache-hit == 'true' }}
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" clean install 
-am -pl test/e2e/sql -Pe2e.env.docker -DskipTests -Ddocker.image.name="${{ 
steps.prepare-image.outputs.image }}" -Dexec.skip=${{ 
steps.prepare-image.outputs.cache-hit == 'true' }}
       - name: Save E2E Image Cache
         if: steps.prepare-image.outputs.cache-hit != 'true'
         uses: ./.github/actions/prepare-e2e-docker
@@ -204,7 +205,7 @@ jobs:
           artifact-id: ${{ needs.prepare-e2e-artifacts.outputs.artifact-id }}
           load-docker-image: ${{ matrix.adapter == 'proxy' }}
       - name: Run E2E Test
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -nsu -B install 
-f test/e2e/sql/pom.xml -De2e.run.type=DOCKER -De2e.artifact.modes=${{ 
matrix.mode }} -De2e.artifact.adapters=${{ matrix.adapter }} 
-De2e.run.additional.cases=false -De2e.scenarios=${{ matrix.scenario }} 
-De2e.artifact.databases=${{ matrix.database }} ${{ matrix.additional-options 
}} -De2e.docker.proxy.image="${{ steps.download-e2e-artifacts.outputs.image }}"
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -nsu install -f 
test/e2e/sql/pom.xml -De2e.run.type=DOCKER -De2e.artifact.modes=${{ matrix.mode 
}} -De2e.artifact.adapters=${{ matrix.adapter }} 
-De2e.run.additional.cases=false -De2e.scenarios=${{ matrix.scenario }} 
-De2e.artifact.databases=${{ matrix.database }} ${{ matrix.additional-options 
}} -De2e.docker.proxy.image="${{ steps.download-e2e-artifacts.outputs.image }}"
 
   detect-remaining-matrix:
     name: Detect Remaining Matrix
@@ -269,4 +270,4 @@ jobs:
           artifact-id: ${{ needs.prepare-e2e-artifacts.outputs.artifact-id }}
           load-docker-image: ${{ matrix.adapter == 'proxy' }}
       - name: Run E2E Test
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -nsu -B install 
-f test/e2e/sql/pom.xml -De2e.run.type=DOCKER -De2e.artifact.modes=${{ 
matrix.mode }} -De2e.artifact.adapters=${{ matrix.adapter }} 
-De2e.run.additional.cases=false -De2e.scenarios=${{ matrix.scenario }} 
-De2e.artifact.databases=${{ matrix.database }} ${{ matrix.additional-options 
}} -De2e.docker.proxy.image="${{ steps.download-e2e-artifacts.outputs.image }}"
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -nsu install -f 
test/e2e/sql/pom.xml -De2e.run.type=DOCKER -De2e.artifact.modes=${{ matrix.mode 
}} -De2e.artifact.adapters=${{ matrix.adapter }} 
-De2e.run.additional.cases=false -De2e.scenarios=${{ matrix.scenario }} 
-De2e.artifact.databases=${{ matrix.database }} ${{ matrix.additional-options 
}} -De2e.docker.proxy.image="${{ steps.download-e2e-artifacts.outputs.image }}"
diff --git a/.github/workflows/nightly-build.yml 
b/.github/workflows/nightly-build.yml
index ecea5e364c1..daa548aa370 100644
--- a/.github/workflows/nightly-build.yml
+++ b/.github/workflows/nightly-build.yml
@@ -35,6 +35,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false -DskipITs -DskipTests
   HUB: ghcr.io/apache/shardingsphere
   PROXY: ghcr.io/apache/shardingsphere-proxy
@@ -57,7 +58,7 @@ jobs:
       - uses: ./.github/actions/setup-build-environment
       - name: Build Project
         run: |
-          ./mvnw -B clean install -Prelease,default-dep
+          ./mvnw clean install -Prelease,default-dep
       - name: Upload Proxy Tarball Artifact
         uses: actions/upload-artifact@v6
         with:
@@ -89,7 +90,7 @@ jobs:
       - uses: 
docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
       - uses: 
docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
       - name: Push Docker Image
-        run: ./mvnw -am -pl distribution/proxy -B 
-Prelease,default-dep,docker.buildx.push -DskipTests 
-Dproxy.image.repository=${{ env.PROXY }} -Dproxy.image.tag=${{ github.run_id 
}} clean install
+        run: ./mvnw -am -pl distribution/proxy 
-Prelease,default-dep,docker.buildx.push -DskipTests 
-Dproxy.image.repository=${{ env.PROXY }} -Dproxy.image.tag=${{ github.run_id 
}} clean install
 
   build-proxy-native-image:
     if: github.repository == 'apache/shardingsphere'
@@ -146,7 +147,7 @@ jobs:
           password: ${{ secrets.GITHUB_TOKEN }}
       - name: Push Docker Image
         run: |
-          ./mvnw -am -pl distribution/agent 
-Prelease,default-dep,docker.buildx.push -B -T1C -DskipTests 
-Dagent.image.repository=${{ env.AGENT }} -Dagent.image.tag=${{ github.run_id 
}} clean package
+          ./mvnw -am -pl distribution/agent 
-Prelease,default-dep,docker.buildx.push -T1C -DskipTests 
-Dagent.image.repository=${{ env.AGENT }} -Dagent.image.tag=${{ github.run_id 
}} clean package
 
   build-cache:
     if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }}
@@ -158,7 +159,7 @@ jobs:
       - uses: actions/[email protected]
       - uses: ./.github/actions/setup-build-environment
       - name: Build with Maven
-        run: ./mvnw clean install -B -ntp -T1C -DskipTests
+        run: ./mvnw clean install -T1C -DskipTests
 
   generate-and-test-examples:
     name: Example-${{ matrix.feature }}-${{ matrix.framework }}-${{ 
matrix.mode }}-${{ matrix.transaction }}
@@ -212,9 +213,9 @@ jobs:
         with:
           enable-docker-setup: 'true'
       - name: Build with Maven
-        run: ./mvnw -B -T1C -ntp clean install -DskipITs -DskipTests
+        run: ./mvnw -T1C clean install -DskipITs -DskipTests
       - name: Generate Examples
-        run: ./mvnw -B install -f 
examples/shardingsphere-jdbc-example-generator/pom.xml -Pexample-generator 
-Dmodes=${{ matrix.mode }} -Dtransactions=${{ matrix.transaction }} 
-Dfeatures=${{ matrix.feature }} -Dframeworks=${{ matrix.framework }}
+        run: ./mvnw install -f 
examples/shardingsphere-jdbc-example-generator/pom.xml -Pexample-generator 
-Dmodes=${{ matrix.mode }} -Dtransactions=${{ matrix.transaction }} 
-Dfeatures=${{ matrix.feature }} -Dframeworks=${{ matrix.framework }}
       - name: Prepare Environments
         run: |
           
INIT_SQL_PATH="examples/shardingsphere-jdbc-example-generator/target/generated-sources/shardingsphere-jdbc-sample/${{
 matrix.feature }}--${{ matrix.framework }}--${{ matrix.mode }}--${{ 
matrix.transaction }}/init.sql"
@@ -226,7 +227,7 @@ jobs:
             exit 1
           fi
       - name: Test Examples
-        run : ./mvnw -B test -f 
examples/shardingsphere-jdbc-example-generator/target/generated-sources/shardingsphere-jdbc-sample/${{
 matrix.feature }}--${{ matrix.framework }}--${{ matrix.mode }}--${{ 
matrix.transaction }}/pom.xml -Pexample-generator 
-Dexec.cleanupDaemonThreads=false
+        run : ./mvnw test -f 
examples/shardingsphere-jdbc-example-generator/target/generated-sources/shardingsphere-jdbc-sample/${{
 matrix.feature }}--${{ matrix.framework }}--${{ matrix.mode }}--${{ 
matrix.transaction }}/pom.xml -Pexample-generator 
-Dexec.cleanupDaemonThreads=false
       - name: Package Examples
         run: |
           cd 
examples/shardingsphere-jdbc-example-generator/target/generated-sources/shardingsphere-jdbc-sample/
diff --git a/.github/workflows/nightly-check.yml 
b/.github/workflows/nightly-check.yml
index e7ee1a23e15..4b7f135b57f 100644
--- a/.github/workflows/nightly-check.yml
+++ b/.github/workflows/nightly-check.yml
@@ -30,6 +30,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false
 
 jobs:
@@ -98,7 +99,7 @@ jobs:
           languages: java
       - name: Install Project
         run: |
-          ./mvnw clean install -DskipTests -B -ntp -T1C
+          ./mvnw clean install -DskipTests -T1C
       - name: Perform CodeQL Analysis
         uses: github/codeql-action/analyze@v3
         with:
@@ -174,7 +175,7 @@ jobs:
         run: ./mvnw clean install -DskipTests -T1C
       - name: Build with maven and execute jacoco aggregation script
         run: |
-          ./mvnw -V -B -ntp verify -Djacoco.skip=false 
-Dmaven.test.failure.ignore=true -DfailIfNoTests=false 
-Dsurefire.failIfNoSpecifiedTests=false &&
+          ./mvnw -V verify -Djacoco.skip=false 
-Dmaven.test.failure.ignore=true -DfailIfNoTests=false 
-Dsurefire.failIfNoSpecifiedTests=false &&
           chmod +x 
./.github/workflows/resources/scripts/unit-test-coverage-merge/code-coverage-merge.sh
 &&
           
./.github/workflows/resources/scripts/unit-test-coverage-merge/code-coverage-merge.sh
 ${{ github.workspace }}
       - name: Upload coverage reports to codecov
@@ -208,4 +209,4 @@ jobs:
           MAVEN_OPTS: "-XX:+UseG1GC -XX:InitialHeapSize=2g -XX:MaxHeapSize=6g 
-XX:+UseStringDeduplication"
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
-        run: ./mvnw -B clean verify 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar 
-Dsonar.projectKey=apache_shardingsphere -DskipTests
+        run: ./mvnw clean verify 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar 
-Dsonar.projectKey=apache_shardingsphere -DskipTests
diff --git a/.github/workflows/nightly-ci.yml b/.github/workflows/nightly-ci.yml
index 34c251296db..dd9f6fcd1d3 100644
--- a/.github/workflows/nightly-ci.yml
+++ b/.github/workflows/nightly-ci.yml
@@ -30,6 +30,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false
 
 jobs:
@@ -58,6 +59,6 @@ jobs:
         with:
           java-version: ${{ matrix.java-version }}
       - name: Build Project with Maven
-        run: ./mvnw clean install -B -ntp -T1C
+        run: ./mvnw clean install -T1C
       - name: Build Examples with Maven
-        run: ./mvnw clean package -B -f examples/pom.xml -T1C
+        run: ./mvnw clean package -f examples/pom.xml -T1C
diff --git a/.github/workflows/nightly-e2e-operation.yml 
b/.github/workflows/nightly-e2e-operation.yml
index 6f6f491d0f6..c0903313465 100644
--- a/.github/workflows/nightly-e2e-operation.yml
+++ b/.github/workflows/nightly-e2e-operation.yml
@@ -39,6 +39,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dfailsafe.skipAfterFailureCount=1 
-Dio.netty.leakDetectionLevel=advanced
   MAVEN_REPOSITORY_DIR: ../.e2e-maven/repository
 
@@ -103,7 +104,7 @@ jobs:
           type: source
           image: apache/shardingsphere-proxy-test
       - name: Build E2E Image
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -B clean 
install -am -pl 
test/e2e/operation/transaction,test/e2e/operation/pipeline,test/e2e/operation/showprocesslist
 -Pe2e.env.docker -DskipTests -Ddocker.image.name="${{ 
steps.prepare-image.outputs.image }}" -Dexec.skip=${{ 
steps.prepare-image.outputs.cache-hit == 'true' }}
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" clean install 
-am -pl 
test/e2e/operation/transaction,test/e2e/operation/pipeline,test/e2e/operation/showprocesslist
 -Pe2e.env.docker -DskipTests -Ddocker.image.name="${{ 
steps.prepare-image.outputs.image }}" -Dexec.skip=${{ 
steps.prepare-image.outputs.cache-hit == 'true' }}
       - name: Save E2E Image Cache
         if: steps.prepare-image.outputs.cache-hit != 'true'
         uses: ./.github/actions/prepare-e2e-docker
@@ -193,4 +194,4 @@ jobs:
               exit 1
               ;;
           esac
-          ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -nsu -B install -f 
test/e2e/operation/${{ matrix.operation }}/pom.xml -De2e.run.type=docker 
-D${DOCKER_IMAGE_PROPERTY}=${DOCKER_IMAGE} -De2e.docker.proxy.image="${{ 
steps.download-e2e-artifacts.outputs.image }}"
+          ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -nsu install -f 
test/e2e/operation/${{ matrix.operation }}/pom.xml -De2e.run.type=docker 
-D${DOCKER_IMAGE_PROPERTY}=${DOCKER_IMAGE} -De2e.docker.proxy.image="${{ 
steps.download-e2e-artifacts.outputs.image }}"
diff --git a/.github/workflows/nightly-e2e-sql.yml 
b/.github/workflows/nightly-e2e-sql.yml
index 424fe627516..fd9a50cdc73 100644
--- a/.github/workflows/nightly-e2e-sql.yml
+++ b/.github/workflows/nightly-e2e-sql.yml
@@ -30,6 +30,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false
   MAVEN_REPOSITORY_DIR: ../.e2e-maven/repository
   SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
@@ -64,7 +65,7 @@ jobs:
           type: source
           image: apache/shardingsphere-proxy-test
       - name: Build E2E Image
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -B clean 
install -am -pl test/e2e/sql -Pe2e.env.docker -DskipTests 
-Ddocker.image.name="${{ steps.prepare-image.outputs.image }}" -Dexec.skip=${{ 
steps.prepare-image.outputs.cache-hit == 'true' }}
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" clean install 
-am -pl test/e2e/sql -Pe2e.env.docker -DskipTests -Ddocker.image.name="${{ 
steps.prepare-image.outputs.image }}" -Dexec.skip=${{ 
steps.prepare-image.outputs.cache-hit == 'true' }}
       - name: Save E2E Image Cache
         if: steps.prepare-image.outputs.cache-hit != 'true'
         uses: ./.github/actions/prepare-e2e-docker
@@ -149,4 +150,4 @@ jobs:
           artifact-id: ${{ needs.prepare-e2e-artifacts.outputs.artifact-id }}
           load-docker-image: ${{ matrix.adapter == 'proxy' }}
       - name: Run E2E Test
-        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -nsu -B install 
-f test/e2e/sql/pom.xml -De2e.run.type=DOCKER -De2e.artifact.modes=${{ 
matrix.mode }} -De2e.artifact.adapters=${{ matrix.adapter }} 
-De2e.run.additional.cases=false -De2e.scenarios=${{ matrix.scenario }} 
-De2e.artifact.databases=${{ matrix.database }} ${{ matrix.additional-options 
}} -De2e.docker.proxy.image="${{ steps.download-e2e-artifacts.outputs.image }}"
+        run: ./mvnw -Dmaven.repo.local="$E2E_MAVEN_REPOSITORY" -nsu install -f 
test/e2e/sql/pom.xml -De2e.run.type=DOCKER -De2e.artifact.modes=${{ matrix.mode 
}} -De2e.artifact.adapters=${{ matrix.adapter }} 
-De2e.run.additional.cases=false -De2e.scenarios=${{ matrix.scenario }} 
-De2e.artifact.databases=${{ matrix.database }} ${{ matrix.additional-options 
}} -De2e.docker.proxy.image="${{ steps.download-e2e-artifacts.outputs.image }}"
diff --git a/.github/workflows/nightly-sql-parser.yml 
b/.github/workflows/nightly-sql-parser.yml
index 84709c0ad55..6e2e38b0556 100644
--- a/.github/workflows/nightly-sql-parser.yml
+++ b/.github/workflows/nightly-sql-parser.yml
@@ -30,6 +30,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false
   RUNS_ON: ubuntu-latest
 
@@ -57,14 +58,14 @@ jobs:
       - uses: actions/[email protected]
       - uses: ./.github/actions/setup-build-environment
       - name: Build Project with Maven
-        run: ./mvnw -T1C -B -ntp clean install
+        run: ./mvnw -T1C clean install
       - name: Clear Previous SQL Parser XML
         run: rm -f test/it/parser/target/failsafe-reports/TEST-*${{ 
matrix.test }}.xml
       - name: Run SQL Parser
         id: sql-parser
         run: |
           mkdir -p "$RUNNER_TEMP/sql-parser-report-${{ matrix.database }}"
-          ./mvnw -nsu -B install -f test/it/parser/pom.xml 
-Pexternal-sql-parser-report \
+          ./mvnw -nsu install -f test/it/parser/pom.xml 
-Pexternal-sql-parser-report \
             -Dsql.parser.external.it.enabled=true -Dit.test=${{ matrix.test }} 
\
             
-Dsql.parser.external.it.report.path="$RUNNER_TEMP/sql-parser-report-${{ 
matrix.database }}/"
       - name: Generate SQL Parser Report
diff --git a/.github/workflows/release-mcp.yml 
b/.github/workflows/release-mcp.yml
index d6fbc7af36b..98e9cfbc5c7 100644
--- a/.github/workflows/release-mcp.yml
+++ b/.github/workflows/release-mcp.yml
@@ -35,6 +35,7 @@ permissions:
   contents: read
 
 env:
+  MAVEN_ARGS: -B -ntp -fae
   MAVEN_OPTS: -Dhttp.keepAlive=false
   MCP_IMAGE: ghcr.io/apache/shardingsphere-mcp
   MCP_PUBLISHER_VERSION: v1.7.9
@@ -83,9 +84,9 @@ jobs:
           echo "identifier=${{ env.MCP_IMAGE }}:${VERSION}" >> 
"${GITHUB_OUTPUT}"
           echo "tags=${TAGS}" >> "${GITHUB_OUTPUT}"
       - name: Run and Install MCP JDK 21 Subchain Tests
-        run: ./mvnw -pl mcp,test/e2e/mcp -am install -DskipITs 
-Dspotless.skip=true -Dsurefire.failIfNoSpecifiedTests=false -B -ntp
+        run: ./mvnw -pl mcp,test/e2e/mcp -am install -DskipITs 
-Dspotless.skip=true -Dsurefire.failIfNoSpecifiedTests=false
       - name: Package MCP Distribution
-        run: ./mvnw -pl distribution/mcp -DskipTests package -B -ntp
+        run: ./mvnw -pl distribution/mcp -DskipTests package
       - name: Build Local MCP Docker Image
         run: docker build -f distribution/mcp/Dockerfile -t 
shardingsphere-mcp-release:local distribution/mcp/target
       - name: Run MCP Distribution E2E
@@ -102,8 +103,7 @@ jobs:
             -Dit.test=PackagedDistributionE2EIT \
             -De2e.run.type=DOCKER \
             -Dmcp.e2e.container.image=shardingsphere-mcp-release:local \
-            -Dmcp.distribution.home="${DISTRIBUTION_HOME}" \
-            -B -ntp
+            -Dmcp.distribution.home="${DISTRIBUTION_HOME}"
       - name: Prepare MCP Registry Metadata
         shell: bash
         run: |
@@ -111,7 +111,7 @@ jobs:
           ./mvnw -pl mcp/registry -DskipTests -DskipITs -Dspotless.skip=true \
             
-Dexec.mainClass=org.apache.shardingsphere.mcp.registry.MCPRegistryMetadataCommand
 \
             -Dexec.args="--version ${{ steps.release-version.outputs.version 
}} --identifier ${{ steps.release-version.outputs.identifier }} 
--dockerfile-path distribution/mcp/Dockerfile" \
-            compile exec:java -B -ntp
+            compile exec:java
       - name: Login Container Registry
         uses: docker/login-action@v3
         with:
@@ -152,8 +152,7 @@ jobs:
           ./mvnw -pl test/e2e/mcp verify -Dspotless.skip=true \
             
-Dit.test=PackagedDistributionE2EIT#assertLaunchContainerOverHttp+assertLaunchContainerOverStdio
 \
             -De2e.run.type=DOCKER \
-            -Dmcp.e2e.container.image="${{ env.MCP_IMAGE }}@${{ 
steps.push-image.outputs.digest }}" \
-            -B -ntp
+            -Dmcp.e2e.container.image="${{ env.MCP_IMAGE }}@${{ 
steps.push-image.outputs.digest }}"
       - name: Install MCP Publisher
         shell: bash
         run: |
diff --git a/.github/workflows/required-check.yml 
b/.github/workflows/required-check.yml
index 819764ead67..00a2c02a34e 100644
--- a/.github/workflows/required-check.yml
+++ b/.github/workflows/required-check.yml
@@ -29,6 +29,9 @@ concurrency:
 permissions:
   contents: read
 
+env:
+  MAVEN_ARGS: -B -ntp -fae
+
 jobs:
   global-environment:
     name: Import Global Environment

Reply via email to