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

dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 02b25b9e8e3 branch-3.0: [chore](ci)Replace local setup-maven with 
setup-java for more stable and simplified Maven setup (#52229) (#53154)
02b25b9e8e3 is described below

commit 02b25b9e8e395f3a9ed05c15790b5666a95cc588
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Sat Jul 12 18:28:06 2025 -0700

    branch-3.0: [chore](ci)Replace local setup-maven with setup-java for more 
stable and simplified Maven setup (#52229) (#53154)
    
    bp #52229
    
    Co-authored-by: Calvin Kirs <[email protected]>
---
 .github/actions/setup-maven       | 1 -
 .github/workflows/checkstyle.yaml | 8 +++++---
 .gitmodules                       | 3 ---
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/.github/actions/setup-maven b/.github/actions/setup-maven
deleted file mode 160000
index 417e1a98996..00000000000
--- a/.github/actions/setup-maven
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 417e1a9899611c0350621d1fb0c2770f35105c69
diff --git a/.github/workflows/checkstyle.yaml 
b/.github/workflows/checkstyle.yaml
index 13ab46b2cd5..9d4e2385c15 100644
--- a/.github/workflows/checkstyle.yaml
+++ b/.github/workflows/checkstyle.yaml
@@ -42,11 +42,13 @@ jobs:
               - 'gensrc/proto/**'
               - 'gensrc/thrift/**'
 
-      - name: Setup Maven Action
+      - name: Set up JDK with Maven
         if: steps.filter.outputs.fe_changes == 'true'
-        uses: ./.github/actions/setup-maven
+        uses: actions/setup-java@v4
         with:
-          maven-version: 3.8.4
+          distribution: 'temurin'
+          java-version: '17'
+          cache: 'maven'    
 
       - name: Run java checkstyle
         if: steps.filter.outputs.fe_changes == 'true'
diff --git a/.gitmodules b/.gitmodules
index 80afde96cd7..2ea37f04b33 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -4,9 +4,6 @@
 [submodule ".github/actions/get-workflow-origin"]
        path = .github/actions/get-workflow-origin
        url = https://github.com/potiuk/get-workflow-origin.git
-[submodule ".github/actions/setup-maven"]
-       path = .github/actions/setup-maven
-       url = https://github.com/stCarolas/setup-maven.git
 [submodule ".github/actions/paths-filter"]
        path = .github/actions/paths-filter
        url = https://github.com/dorny/paths-filter


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to