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.git

commit bf06d723e132a70f0cab7b6e0427fdcfe76e15e0
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Mon Oct 19 15:45:55 2026 +0200

    CAMEL-22996: Bump minimum Java version from 17 to 21 in root POM
    
    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 <[email protected]>
---
 pom.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index d7009c9ec7f..297ddf53ee4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,7 +104,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>
         <!-- These two are here only to prevent the versions for the Apache 
parent pom from leaking-->
         <maven.compiler.source>${jdk.version}</maven.compiler.source>
         <maven.compiler.target>${jdk.version}</maven.compiler.target>
@@ -182,7 +182,7 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
                 <configuration>
-                    <source>17</source>
+                    <source>21</source>
                     <additionalOptions>${javadoc.opts}</additionalOptions>
                     <doclint>none</doclint>
                 </configuration>
@@ -680,7 +680,7 @@
                                     <goal>jar</goal>
                                 </goals>
                                 <configuration>
-                                    <source>17</source>
+                                    <source>21</source>
                                     <doclint>none</doclint>
                                 </configuration>
                             </execution>

Reply via email to