You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Seth Wiesman (Jira)" <ji...@apache.org> on 2021/11/08 19:30:00 UTC
[jira] [Created] (FLINK-24833) Prevent use of deprecated APIs in
flink-examples
Seth Wiesman created FLINK-24833:
------------------------------------
Summary: Prevent use of deprecated APIs in flink-examples
Key: FLINK-24833
URL: https://issues.apache.org/jira/browse/FLINK-24833
Project: Flink
Issue Type: Sub-task
Components: Examples
Affects Versions: 1.15.0
Reporter: Seth Wiesman
We should be able to setup java compiler for examples
to fail on any usage of deprecated APIs.
Something along the lines of:
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>...</version>
<executions>
<execution>
<id>compile</id>
<phase>process-sources</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<compilerArgument>-Xlint:deprecation</compilerArgument>
<failOnWarning>true</failOnWarning>
</configuration>
</execution>
</executions>
</plugin>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)