I\'m trying to get maven to output lint level warnings. I\'ve created a small test program that should generate a warning about using a static method from a non-static context,
I imagine that the reason your commented out attempt with
is failing because of the XML namespace "Xlint" that the "all" tag would fall into, which means that the entire tag "Xlint:all" probably wasn't even seen by the maven configuration parser (being in a different namespace and all).
By the way, the relevant lines of output
Compiling 1 source file to C:\Users\edwbuck\Documents\NetBeansProjects\mavenproject3\target\classes
bootstrap class path not set in conjunction with -source 1.6
com/buck/mavenproject3/App.java:[12,35] static method should be qualified by type name, java.lang.String, instead of by an expression