[ https://issues.apache.org/jira/browse/FLINK-24833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444113#comment-17444113 ]
Seth Wiesman commented on FLINK-24833: -------------------------------------- [~RocMarshal] Thank you for the initiative, but I'm going to take this. I want to enable this check along with fixing the deprecations so no changes can sneak in. I am certainly happy to include you as a reviewer though. [~guoyangze] Will do! thanks for the heads up! > 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 > Assignee: Seth Wiesman > Priority: Major > > 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)