Enabled lint check and deprecation warnings during compilation.

This commit is contained in:
Anthony Whitford
2015-09-13 10:22:25 -07:00
parent 6117e25b97
commit 3fad29a709
2 changed files with 2 additions and 8 deletions

View File

@@ -210,13 +210,6 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
</systemProperties>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgument>-Xlint:unchecked</compilerArgument>
</configuration>
</plugin>
</plugins>
</build>
<reporting>

View File

@@ -242,7 +242,8 @@ Copyright (c) 2012 - Jeremy Long
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<showDeprecation>false</showDeprecation>
<compilerArgument>-Xlint</compilerArgument>
<showDeprecation>true</showDeprecation>
<source>1.6</source>
<target>1.6</target>
</configuration>