dev@glassfish.java.net

Re: Javac warnings are OFF by default in the build system!!

From: Craig L Russell <Craig.Russell_at_Sun.COM>
Date: Wed, 14 May 2008 12:41:40 -0700

Hi Byron,

On May 13, 2008, at 6:07 PM, Byron Nevins wrote:

> I recently discovered that warnings from javac are squelched by
> maven. I build on 3 machines. 2 of them never show warnings. One
> of them does. I have no idea why.
>
> Shouldn't we have warnings on by default in V3 -- they are PLENTY of
> them -- so that we can look at getting rid of them?

+1

> It seems like fixing FindBugs issues should take a backseat to bona
> fide compiler warnings.
>
> Does anyone know what magical incantation to add to settings.xml to
> turn on warnings -- the maven doc is kind of painful....

Here's the relevant web page...

http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html

Craig
>
>
> --
> Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123
> - Sun Microsystems, Inc.
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net For
> additional commands, e-mail: dev-help_at_glassfish.dev.java.net

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell_at_sun.com
P.S. A good JDO? O, Gasp!