I have a maven project forked and cloned from a git repo onto my eclipse. It is build on Java 8. The first thing i do is perform a
mvn clean install
The below pom.xml configuration is making the build successful and make sure project buildpath JRE System library should point to Java8.
org.apache.maven.pluginsmaven-compiler-plugin3.7.0 1.81.8