This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new 0da26fd41 Fix build for JDK 21 (#2760)
0da26fd41 is described below
commit 0da26fd412c6ee7a09565012af16f2b74fadd5a3
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Mar 9 10:30:56 2026 +0100
Fix build for JDK 21 (#2760)
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>