update pom.xml to handle Java 8