File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ under the License.
124
124
<flink .shaded.jackson.version>2.15.3</flink .shaded.jackson.version>
125
125
<flink .shaded.jsonpath.version>2.7.0</flink .shaded.jsonpath.version>
126
126
<flink .markBundledAsOptional>true</flink .markBundledAsOptional>
127
+ <source .java.version>11</source .java.version>
127
128
<target .java.version>17</target .java.version>
128
129
<slf4j .version>1.7.36</slf4j .version>
129
130
<log4j .version>2.24.1</log4j .version>
@@ -1120,7 +1121,8 @@ under the License.
1120
1121
<groupId >org.apache.maven.plugins</groupId >
1121
1122
<artifactId >maven-compiler-plugin</artifactId >
1122
1123
<configuration >
1123
- <source >17</source >
1124
+ <!-- Make sure that we only use Java 11 compatible APIs -->
1125
+ <source >11</source >
1124
1126
<target >17</target >
1125
1127
<compilerArgs combine.children=" append" >
1126
1128
<arg >--add-exports=java.base/sun.net.util=ALL-UNNAMED</arg >
@@ -2082,7 +2084,8 @@ under the License.
2082
2084
<artifactId >maven-compiler-plugin</artifactId >
2083
2085
<version >3.8.0</version >
2084
2086
<configuration >
2085
- <source >${target.java.version} </source >
2087
+ <!-- Make sure that we only use Java 11 compatible APIs -->
2088
+ <source >${source.java.version} </source >
2086
2089
<target >${target.java.version} </target >
2087
2090
<!-- The semantics of this option are reversed, see MCOMPILER-209. -->
2088
2091
<useIncrementalCompilation >false</useIncrementalCompilation >
You can’t perform that action at this time.
0 commit comments