anmolnar commented on a change in pull request #910: ZOOKEEPER-3364 Compile
with strict options in order to check code quality
URL: https://github.com/apache/zookeeper/pull/910#discussion_r281669912
##########
File path: pom.xml
##########
@@ -470,6 +470,15 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
+ <configuration>
+ <compilerArgs>
+ <compilerArg>-Werror</compilerArg>
Review comment:
If I understand it correctly now we generate warnings for "deprecated" and
"unchecked" code snippets which will eventually become errors.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services