Pass -Xlint -Xlint:-serial to javac (Maven build of runtime)

This commit is contained in:
Sam Harwell 2012-11-01 11:00:42 -05:00
parent d220f90d3b
commit a828b99b59
1 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,12 @@
<configuration> <configuration>
<source>1.6</source> <source>1.6</source>
<target>1.6</target> <target>1.6</target>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<compilerArguments>
<Xlint/>
</compilerArguments>
<compilerArgument>-Xlint:-serial</compilerArgument>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>