You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/12/24 09:35:22 UTC

[camel] 01/02: CAMEL-17329: Drop Java 8 and set source/target to Java 11

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 987b9c3c3d560aa3ffddba7fdbb0cf884b8fa84e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Dec 24 09:50:42 2021 +0100

    CAMEL-17329: Drop Java 8 and set source/target to Java 11
---
 pom.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 46e2b0c..110cc84 100644
--- a/pom.xml
+++ b/pom.xml
@@ -109,9 +109,12 @@
         <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>1.8</jdk.version>
+        <jdk.version>11</jdk.version> <!-- TODO: deprecate use maven.compiler.xxx instead -->
         <compiler.fork>false</compiler.fork>
 
+        <maven.compiler.target>11</maven.compiler.target>
+        <maven.compiler.source>11</maven.compiler.source>
+
         <!-- reproduceable builds: https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
         <project.build.outputTimestamp>1</project.build.outputTimestamp>