Added java 1.8 to pom.xml