Update pom.xml

added java version dependency