modify pom to fit java 7