Dodaj obsługę Java 8 do POM
<!-- Force Eclipse and Maven to use a Java 8 JDK compiler-->
<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>
Joyous Jay