Update pom.xml

Requires java 7.