add java version to pom