Update pom.xml for jdk 1.8 compliance