added java version to pom