update pom.xml to use java 1.8