====== Add some custom options to java compiler from maven ====== Add this to the project pom file: org.apache.maven.plugins maven-compiler-plugin 3.10.1 -verbose -Xlint:all,-options,-path