Set java version to 7 in the pom