Hi Seth, thanks for bringing this up. What do you think about placing a
safeguard for this? 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>
Best,
D.
On Mon, Nov 8, 2021 at 4:59 PM Till Rohrmann <[email protected]> wrote:
> Thanks for raising awareness for keeping our examples up to date. I think
> this is a very good practice and it also helps our users better understand
> how to use Flink.
>
> Cheers,
> Till
>
> On Mon, Nov 8, 2021 at 4:57 PM Fabian Paul <[email protected]>
> wrote:
>
> > Hi Seth,
> >
> > Thanks for brining up this topic.
> >
> > Huge appreciations that you take this over initially and we should
> > definitely
> > take care as a community to what we show beginner users.
> >
> > We can also take the examples as show cases about things we have
> developed
> > and
> > are proud of.
> >
> > Best,
> > Fabian
>