You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2024/03/20 14:46:57 UTC

(camel-spring-boot) 02/02: Use the release compiler flag to validate JDK methods signatures

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

gnodet pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit cf6ac6cee6f9dbdc8d1b4ccbcd33db5f8190ed89
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Wed Mar 20 15:46:29 2024 +0100

    Use the release compiler flag to validate JDK methods signatures
---
 pom.xml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1a8f7dc3064..cd32752499e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -169,8 +169,7 @@
                 <artifactId>maven-compiler-plugin</artifactId>
                 <version>${maven-compiler-plugin-version}</version>
                 <configuration>
-                    <source>${jdk.version}</source>
-                    <target>${jdk.version}</target>
+                    <release>${jdk.version}</release>
                     <maxmem>512M</maxmem>
                     <fork>${compiler.fork}</fork>
                 </configuration>