Which module?
If you add to artifact with "hk2-jar" packaging, add:
<compilerArgument>-Xlint:deprecated</compilerArgument>
in hk2-maven-plugin.
e.g. v3/pom.xml
<plugin>
<groupId>com.sun.enterprise</groupId>
<artifactId>hk2-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
*<compilerArgument>-Xlint:deprecated</compilerArgument> *
...
</configuration>
</plugin>
For artifact with "jar" packaging, add the same element in
maven-compiler-plugin.
On 4/7/11 3:55 PM, Bill Shannon wrote:
> What's the simplest way to modify my build to use -Xlint:deprecated?