I can't get the
maven's compile phase to display the warning below(Note: If I compile with javac -Xlint:all [path to NothingHere file] then I get the warning).
warning: [serial] serializable class NothingHere has no definition of serialVersionUID
final public class NothingHere extends Exception {
I tried updating the pom.xml with
But when I call mvn compile or package I get no warning message.. Any pointers?
Also: I'm using maven's quickstart.