Updated pom file to enforce java 7. Required because of the usage of the java.nio library