Hi,
Today in my build I had the well known warning :
[WARNING] xxxxx.java: xxxxx.java uses unchecked or unsafe operations.
[WARNING] xxxxx.java: Recompile with -Xlint:unchecked for details.
Thus I updated my compiler plugin with
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>-Xlint:unchecked</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</pluginManagement>
And it works while the documentation is saying
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#compilerArgs
Sets the arguments to be passed to the compiler """if fork is set to true
."""
Which isn't my case.
[DEBUG] (f) fork = false
Should we update the doc ? Do I miss something ?
Cheers
--
-----
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier