Updated pom to enforce the use of java 1.7