I think you can remove the whole maven-compiler-plugin declaration since it doesn't host any config.