enforce java version to 1.7 in pom.xml