Repository navigation
Camel 22996 drop java17 spring boot - #2049
Merged
Merged
Conversation
Camel core now requires Java 21 as its minimum (apache/camel#27943). Camel Spring Boot must follow suit. - Change the jdk.version property from 17 to 21. This property drives maven.compiler.source, maven.compiler.target, maven.compiler.release and minimalJavaBuildVersion for every module in the reactor. - Update the two hardcoded <source>17</source> entries in the maven-javadoc-plugin configuration (main build and deploy profile) to <source>21</source> so that Javadoc generation also targets Java 21. Co-authored-by: IBM Bob 2.2.1 Signed-off-by: Aurélien Pupier <apupier@ibm.com>
The archetype template for new Camel Spring Boot projects carried its own hardcoded <release>17</release> in the maven-compiler-plugin configuration. Projects generated from this archetype must now target Java 21, matching the minimum requirement introduced in Camel core (apache/camel#27943). Co-authored-by: IBM Bob 2.2.1 Signed-off-by: Aurélien Pupier <apupier@ibm.com>
Camel core now requires Java 21 as the minimum (apache/camel#27943). Update all CI workflow files that referenced Java 17: - pr-build-main.yml: replace '17' with '21' in the build matrix so PR builds are validated on Java 21 and Java 25 (EA) instead of 17 and 25. - generate-sbom-main.yml: bump the java-version pin from 17 to 21. - automatic-sync-main.yml: bump the java-version pin from 17 to 21. Co-authored-by: IBM Bob 2.2.1 Signed-off-by: Aurélien Pupier <apupier@ibm.com>
…test Camel core now requires Java 21 as the minimum (apache/camel#27943). Update the default JDK tool name in all three Jenkinsfiles so that Jenkins pipeline builds (main, deploy and ppc64le) pick up Java 21 when no JDK_NAME environment variable is explicitly overridden. Co-authored-by: IBM Bob 2.2.1 Signed-off-by: Aurélien Pupier <apupier@ibm.com>
Reflect the Java 21 minimum set by Camel core (apache/camel#27943). Co-authored-by: IBM Bob 2.2.1 Signed-off-by: Aurélien Pupier <apupier@ibm.com>
davsclaus
approved these changes
Oct 20, 2026
apupier
marked this pull request as ready for review
October 20, 2026 06:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aligns Camel Spring Boot with the Camel core minimum Java requirement raised
to Java 21 in apache/camel#27943 (CAMEL-22996).
All changes are mechanical version-number updates — no source code or API
changes are included.
Changes
Build (root
pom.xml)jdk.versionproperty from17to21. This single property cascadesinto
maven.compiler.source,maven.compiler.target,maven.compiler.release,and
minimalJavaBuildVersionfor every module in the reactor.<source>17</source>entries in themaven-javadoc-pluginconfiguration (main build and deploy profile) to21.Maven archetype
<release>17</release>→<release>21</release>in thecamel-archetype-spring-boottemplate so newly scaffolded projects targetJava 21 from the start.
GitHub Actions CI
pr-build-main.yml: replace'17'with'21'in the build matrix —PR builds now validate on Java 21 and 25 (EA) only.
generate-sbom-main.yml: bumpjava-versionpin from17to21.automatic-sync-main.yml: bumpjava-versionpin from17to21.Jenkins
Jenkinsfile.sb,Jenkinsfile.sb.deploy,Jenkinsfile.sb.ppc64le:change the default JDK tool name from
jdk_17_latesttojdk_21_latest.Documentation
AGENTS.md: update the stated minimum Java requirement from17+to21+.Related
Generated with IBM Bob 2.2.1 on behalf of Aurélien Pupier