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

apupier pushed a commit to branch CAMEL-22996-dropJava17
in repository https://gitbox.apache.org/repos/asf/camel.git

commit dd5ae640f81a1e4d7405b08bfa949cd35dca71e3
Author: Aurélien Pupier <[email protected]>
AuthorDate: Fri Oct 16 09:41:48 2026 +0200

    CAMEL-22996: remove JDK 17 from GitHub Actions matrix
    
    Co-authored-by: IBM Bob 2.2.1
---
 .github/CI-ARCHITECTURE.md          | 6 +++---
 .github/workflows/pr-build-main.yml | 7 +------
 2 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/.github/CI-ARCHITECTURE.md b/.github/CI-ARCHITECTURE.md
index 1214e5d37589..ebdcaf541c4a 100644
--- a/.github/CI-ARCHITECTURE.md
+++ b/.github/CI-ARCHITECTURE.md
@@ -34,7 +34,7 @@ PR comment: /component-test kafka http
 ### `pr-build-main.yml` — Build and test
 
 - **Trigger**: `pull_request` (main branch), `workflow_dispatch`
-- **Matrix**: JDK 17, 21, 25 (25 is experimental)
+- **Matrix**: JDK 21, 25 (25 is experimental)
 - **Steps**:
   1. Full build via `regen.sh` (`mvn install -DskipTests -Pregen`)
   2. Check for uncommitted generated files
@@ -138,7 +138,7 @@ Notes:
 - **The section names its JDK** (`flake-label` on the action, `--label` on the
   script, also recorded in `flakes.json`). The PR-comment artifact is uploaded
   with `overwrite: true` across the JDK matrix on the grounds that the content 
is
-  identical between entries. Flake data is the one part that is not: if JDK 17
+  identical between entries. Flake data is the one part that is not: if JDK 21
   flakes and JDK 25 does not, whichever finishes last decides what the comment
   shows. The label means the reader can tell which entry a shown flake came 
from,
   and the per-JDK artifacts remain the complete record.
@@ -260,7 +260,7 @@ source-artifact-id:it-module-path:command
 
 ## Multi-JDK Artifact Behavior
 
-All non-experimental JDK matrix entries (17, 21) upload the CI comment 
artifact with `overwrite: true`. This ensures a comment is posted even if one 
JDK build fails. Since the comment content is identical across JDKs (same 
modules are tested regardless of JDK version), last writer wins.
+All non-experimental JDK matrix entries (21) upload the CI comment artifact 
with `overwrite: true`. This ensures a comment is posted even if one JDK build 
fails. Since the comment content is identical across JDKs (same modules are 
tested regardless of JDK version), last writer wins.
 
 ## Comment Markers
 
diff --git a/.github/workflows/pr-build-main.yml 
b/.github/workflows/pr-build-main.yml
index 7d8cc482c089..45a85a82b1fe 100644
--- a/.github/workflows/pr-build-main.yml
+++ b/.github/workflows/pr-build-main.yml
@@ -71,13 +71,8 @@ jobs:
     continue-on-error: ${{ matrix.experimental }}
     strategy:
       matrix:
-        java: ['17', '25']
+        java: ['21', '25']
         experimental: [ false ]
-        include:
-          - java: '17'
-            # JDK 17 is kept for runtime compatibility testing.
-            # Skip the enforcer which requires JDK 21+ (needed to compile JDK 
21-specific classes).
-            maven_extra_args: '-Denforcer.phase=none'
 
     steps:
       - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1

Reply via email to