change the pom.xml to enable the Java 8 compilation