Modified Java 8 Maven configuration