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-spring-boot-examples.git
The following commit(s) were added to refs/heads/main by this push:
new d94fd836 CAMEL-23112 - minimal version is Java 21 now
d94fd836 is described below
commit d94fd8369e51fa33319ea006856cf1ec2be70446
Author: Aurélien Pupier <[email protected]>
AuthorDate: Wed Mar 4 14:42:39 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 661c1f07..f0edc158 100644
--- a/.github/workflows/master-pr-build.yml
+++ b/.github/workflows/master-pr-build.yml
@@ -27,7 +27,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 b4333529..7382786c 100644
--- a/.github/workflows/master-push-build.yml
+++ b/.github/workflows/master-push-build.yml
@@ -27,7 +27,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 32c11514..756f8926 100644
--- a/pom.xml
+++ b/pom.xml
@@ -107,7 +107,7 @@
<properties>
<camel-version>4.19.0-SNAPSHOT</camel-version>
- <javaVersion>17</javaVersion>
+ <javaVersion>21</javaVersion>
<skip.starting.camel.context>false</skip.starting.camel.context>
<jkube-maven-plugin-version>1.18.1</jkube-maven-plugin-version>
<jkube.generator.from>registry.access.redhat.com/ubi9/openjdk-17:latest</jkube.generator.from>