You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/01/05 10:02:12 UTC

[camel] branch main updated: CAMEL-17431: prevent Apache parent java source and target version from leaking

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 83d1010  CAMEL-17431: prevent Apache parent java source and target version from leaking
83d1010 is described below

commit 83d1010793867f3e51d903ee8f404c498d7469e9
Author: Otavio Rodolfo Piske <op...@redhat.com>
AuthorDate: Tue Jan 4 21:03:45 2022 +0100

    CAMEL-17431: prevent Apache parent java source and target version from leaking
---
 pom.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pom.xml b/pom.xml
index 45f5ba6..686fa98 100644
--- a/pom.xml
+++ b/pom.xml
@@ -111,6 +111,9 @@
         <site-repo-url>scpexe://people.apache.org/www/camel.apache.org/maven/</site-repo-url>
         <jdk.version>11</jdk.version>
         <compiler.fork>false</compiler.fork>
+        <!-- These two are here only to prevent the versions for the Apache parent pom from leaking-->
+        <maven.compiler.source>${jdk.version}</maven.compiler.source>
+        <maven.compiler.target>${jdk.version}</maven.compiler.target>
 
         <!-- reproduceable builds: https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
         <project.build.outputTimestamp>1</project.build.outputTimestamp>