Updating java version in pom file