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

snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 916248ea8f0 [FLINK-40537][build] IDEA should use java version same as 
in `source.java.version`
916248ea8f0 is described below

commit 916248ea8f06778a4562b4a8712b2d16adb58165
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Wed Sep 2 15:21:40 2026 +0200

    [FLINK-40537][build] IDEA should use java version same as in 
`source.java.version`
---
 pom.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pom.xml b/pom.xml
index 9183f7acc7f..980cdd2cc66 100644
--- a/pom.xml
+++ b/pom.xml
@@ -140,6 +140,9 @@ under the License.
                         and thus is changing back to java 1.6 on each maven 
re-import -->
                
<maven.compiler.source>${source.java.version}</maven.compiler.source>
                
<maven.compiler.target>${target.java.version}</maven.compiler.target>
+               <!-- Apache parent pom 39 puts 8 here, IDEA uses it for project 
setting,
+                so override with actual value -->
+               
<maven.compiler.release>${source.java.version}</maven.compiler.release>
                <scala.macros.version>2.1.1</scala.macros.version>
                <scala.version>2.12.21</scala.version>
                <scala.binary.version>2.12</scala.binary.version>

Reply via email to