[KARAF-2704] Upgrade to maven-compiler-plugin 3.1