I want to always show warning and compiler fatigue when compiling with Maven. I know how to do this by editing pom.xml , but I want this behavior to be the default for me only (therefore, I cannot edit pom.xml ).
I tried:
mvn -Dmaven.compiler.showWarnings=true -Dmaven.compiler.showDeprecation=true clean compile
but this does not show any warnings (if I change pom.xml to show them, they are).
Both expressions ( maven.compiler.showWarnings and maven.compiler.showDeprecation ) exist .
What am I missing?
source share