Changed pom to compile for java8.