I am trying:
org.apache.maven.plugins
maven-compiler-plugin&l
New in maven-compiler-plugin
3.6.0: the failOnWarning
flag. This worked for me:
maven-compiler-plugin
3.6.0
compile
process-sources
compile
-Xlint:-processing
true
Note that I had to exclude the processing
lint or otherwise auto-matter's annotations would break the build with cryptic "symbol not found" errors.