updating pom.xml to set up java 1.7