set java version to 1.8 in the pom