Add deprecations and warnings to maven-compiler-plugin config