This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch fix-build-jdk-21 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 5e6a65ccbf6b624fa0dfae9888ceb730befa28e6 Author: Andrea Cosentino <[email protected]> AuthorDate: Mon Mar 9 10:21:34 2026 +0100 Fix build for JDK 21 Signed-off-by: Andrea Cosentino <[email protected]> --- library/camel-kamelets-catalog/pom.xml | 4 ++-- library/kamelets-maven-plugin/pom.xml | 4 ++-- pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/camel-kamelets-catalog/pom.xml b/library/camel-kamelets-catalog/pom.xml index ecc078823..ab25c52c1 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>11</source> - <target>11</target> + <source>21</source> + <target>21</target> </configuration> </plugin> </plugins> diff --git a/library/kamelets-maven-plugin/pom.xml b/library/kamelets-maven-plugin/pom.xml index d0c02d10c..482a4c6ae 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>11</source> - <target>11</target> + <source>21</source> + <target>21</target> </configuration> </plugin> </plugins> diff --git a/pom.xml b/pom.xml index 0dfee6d8e..cb36864a8 100644 --- a/pom.xml +++ b/pom.xml @@ -290,8 +290,8 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <source>8</source> - <target>8</target> + <source>21</source> + <target>21</target> </configuration> </plugin> </plugins>
