updated maven config to Java 8