Add java 8 to pom.xml