add java 8 support to pom code example
Example: add java 8 support to 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>