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

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


The following commit(s) were added to refs/heads/main by this push:
     new 29dca2e3 CAMEL-23112 - minimal version is Java 21 now
29dca2e3 is described below

commit 29dca2e3cc90917b737ec8f8205f474854fc248a
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Wed Mar 4 14:40:03 2026 +0100

    CAMEL-23112 - minimal version is Java 21 now
    
    - updated compiler
    - updated Github job
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 .github/workflows/master-pr-build.yml   | 2 +-
 .github/workflows/master-push-build.yml | 2 +-
 pom.xml                                 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/master-pr-build.yml 
b/.github/workflows/master-pr-build.yml
index 211a5548..d3ce3e1f 100644
--- a/.github/workflows/master-pr-build.yml
+++ b/.github/workflows/master-pr-build.yml
@@ -26,7 +26,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        java: [ '17' ]
+        java: [ '21' ]
     steps:
       - uses: actions/checkout@v2
       - name: Set up JDK ${{ matrix.java }}
diff --git a/.github/workflows/master-push-build.yml 
b/.github/workflows/master-push-build.yml
index 5a66d112..e98d2137 100644
--- a/.github/workflows/master-push-build.yml
+++ b/.github/workflows/master-push-build.yml
@@ -26,7 +26,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        java: [ '17' ]
+        java: [ '21' ]
     steps:
       - uses: actions/checkout@v2
       - name: Set up JDK ${{ matrix.java }}
diff --git a/pom.xml b/pom.xml
index 81fb857e..77f458b5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -146,7 +146,7 @@
         
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 
         
<site-repo-url>scpexe://people.apache.org/www/camel.apache.org/maven/</site-repo-url>
-        <jdk.version>17</jdk.version>
+        <jdk.version>21</jdk.version>
         <compiler.fork>false</compiler.fork>
 
         <camel.version>${project.version}</camel.version>

Reply via email to