1. For IntelliJ EDEA
---- For Mavel Failsafe - install Maven Test Support Plugin https://plugins.jetbrains.com/
2. To run Java 8 in the Maven project, add in the pom.xml file:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.
<artifactId>maven-compiler-
<version>3.6.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>