added the java version to pom.xml