Set the java version in the pom.