Update pom.xml for java 1.7