improving pom.xml to use appropriate java 1.7