Enable more compiler warnings and fail when warnings are found
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<debug>true</debug>
- <debuglevel>source,lines</debuglevel>
- <optimize>true</optimize>
+ <debuglevel>source,lines,vars</debuglevel>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <failOnWarning>true</failOnWarning>
</configuration>
</plugin>
</plugins>
