dev@glassfish.java.net

Re: -Xlint:deprecated

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Thu, 07 Apr 2011 15:59:43 -0700

In pom.xml, add the following:

<build>
<plugins>
<plugin>
<groupId>com.sun.enterprise</groupId>
<artifactId>hk2-maven-plugin</artifactId>
<configuration>
<compilerArgument>-Xlint:deprecated</compilerArgument>
</configuration>
</plugin>
</plugins>
</build>

Shing Wai Chan


On 4/7/11 3:55 PM, Bill Shannon wrote:
> What's the simplest way to modify my build to use -Xlint:deprecated?