pom edited for java version