Configure java version in pom