Adding java compilerVersion configuration to pom.xml