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 25f1a5076b8 [FLINK-40822][bulid] Bump maven-compiler-plugin to 3.16.0
25f1a5076b8 is described below
commit 25f1a5076b88b6bab80539ce1eb9984574018c17
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Sun Sep 27 16:41:11 2026 +0200
[FLINK-40822][bulid] Bump maven-compiler-plugin to 3.16.0
---
flink-examples/flink-examples-table/pom.xml | 2 +-
pom.xml | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/flink-examples/flink-examples-table/pom.xml
b/flink-examples/flink-examples-table/pom.xml
index 3cae690c0e8..6543f5e89c8 100644
--- a/flink-examples/flink-examples-table/pom.xml
+++ b/flink-examples/flink-examples-table/pom.xml
@@ -143,7 +143,7 @@ under the License.
<goal>compile</goal>
</goals>
<configuration>
-
<compilerArgument>-Xlint:deprecation</compilerArgument>
+
<compilerArgument>-Xlint:deprecation,-options</compilerArgument>
<failOnWarning>true</failOnWarning>
</configuration>
</execution>
diff --git a/pom.xml b/pom.xml
index d47d35777cc..097d288e759 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2135,7 +2135,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.0</version>
+ <version>3.16.0</version>
<configuration>
<!-- Make sure that we only use
Java 11 compatible APIs -->
<source>${source.java.version}</source>
@@ -2144,6 +2144,7 @@ under the License.
<release
combine.self="override"/>
<!-- The semantics of this
option are reversed, see MCOMPILER-209. -->
<useIncrementalCompilation>false</useIncrementalCompilation>
+
<useModulePath>false</useModulePath>
<compilerArgs>
<!-- Prevents
recompilation due to missing package-info.class, see MCOMPILER-205 -->
<arg>-Xpkginfo:always</arg>