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


The following commit(s) were added to refs/heads/main by this push:
     new 3b84fb24 Fix main build by using release configuration for 
maven-compiler-plugin
3b84fb24 is described below

commit 3b84fb241292d0f426a2168e531dfb9c5fd007fe
Author: Aurélien Pupier <apup...@redhat.com>
AuthorDate: Fri Aug 16 17:07:32 2024 +0200

    Fix main build by using release configuration for maven-compiler-plugin
    
    Signed-off-by: Aurélien Pupier <apup...@redhat.com>
---
 pom.xml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index ce978669..f01c7c94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -259,8 +259,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>

Reply via email to