Fixed java version in pom.