added java version to pom.xml