Maven generates some warning messages during the build. Fix them.
Also fail compilation on warnings: <arg>-Xlint:all</arg> and <arg>-Werror</arg>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.12.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<showWarnings>true</showWarnings>
<compilerArgs>
<!-- We turn off `processing` because it complains about every annotation -->
<arg>-Xlint:all</arg>
<arg>-Werror</arg>
</compilerArgs>
</configuration>
</plugin>
Maven generates some warning messages during the build. Fix them.
Also fail compilation on warnings:
<arg>-Xlint:all</arg>and<arg>-Werror</arg>see also https://github.com/exasol/project-keeper/blob/main/maven-project-crawler/pk_generated_parent.pom#L88