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

commit 1ea51e3c66909bb2768acb61fcb5d7b745a4ecf5
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Mon Oct 19 16:25:07 2026 +0200

    chore: raise the Maven compiler level from Java 17 to Java 21
    
    Camel core now requires Java 21, so the Kamelet libraries must be
    compiled for Java 21 as well.
    
    - root pom.xml: maven.compiler.source/target/release and the
      maven-compiler-plugin pluginManagement source/target set to 21
    - camel-kamelets-catalog and kamelets-maven-plugin: compiler plugin
      source/target set to 21
    - camel-kamelets-crds: maven.compiler.source/target/release set to 21
      (<proc>full</proc> is kept, it is required since JDK 23)
    
    Co-authored-by: IBM Bob 2.2.1
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 library/camel-kamelets-catalog/pom.xml |  4 ++--
 library/camel-kamelets-crds/pom.xml    |  6 +++---
 library/kamelets-maven-plugin/pom.xml  |  4 ++--
 pom.xml                                | 10 +++++-----
 4 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/library/camel-kamelets-catalog/pom.xml 
b/library/camel-kamelets-catalog/pom.xml
index 6e8749200..17d4c46ba 100644
--- a/library/camel-kamelets-catalog/pom.xml
+++ b/library/camel-kamelets-catalog/pom.xml
@@ -25,8 +25,8 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
-                    <source>17</source>
-                    <target>17</target>
+                    <source>21</source>
+                    <target>21</target>
                 </configuration>
             </plugin>
         </plugins>
diff --git a/library/camel-kamelets-crds/pom.xml 
b/library/camel-kamelets-crds/pom.xml
index b59e5f562..dfbc09800 100644
--- a/library/camel-kamelets-crds/pom.xml
+++ b/library/camel-kamelets-crds/pom.xml
@@ -33,9 +33,9 @@
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 
-    <maven.compiler.release>17</maven.compiler.release>
-    <maven.compiler.source>17</maven.compiler.source>
-    <maven.compiler.target>17</maven.compiler.target>
+    <maven.compiler.release>21</maven.compiler.release>
+    <maven.compiler.source>21</maven.compiler.source>
+    <maven.compiler.target>21</maven.compiler.target>
 
     <fabric8-version>8.0.0</fabric8-version>
     <maven-surefire-plugin-version>3.5.0</maven-surefire-plugin-version>
diff --git a/library/kamelets-maven-plugin/pom.xml 
b/library/kamelets-maven-plugin/pom.xml
index f33177456..0e8d3df05 100644
--- a/library/kamelets-maven-plugin/pom.xml
+++ b/library/kamelets-maven-plugin/pom.xml
@@ -120,8 +120,8 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
-                    <source>17</source>
-                    <target>17</target>
+                    <source>21</source>
+                    <target>21</target>
                 </configuration>
             </plugin>
         </plugins>
diff --git a/pom.xml b/pom.xml
index ebbd1785a..eafb24ead 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,9 +43,9 @@
     </modules>
 
     <properties>
-        <maven.compiler.source>17</maven.compiler.source>
-        <maven.compiler.target>17</maven.compiler.target>
-        <maven.compiler.release>17</maven.compiler.release>
+        <maven.compiler.source>21</maven.compiler.source>
+        <maven.compiler.target>21</maven.compiler.target>
+        <maven.compiler.release>21</maven.compiler.release>
 
         <failIfNoTests>false</failIfNoTests>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -301,8 +301,8 @@
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>
                     <configuration>
-                        <source>17</source>
-                        <target>17</target>
+                        <source>21</source>
+                        <target>21</target>
                     </configuration>
                 </plugin>
             </plugins>

Reply via email to