Set java version in pom

Change-Id: Ifd1c87e01d252ba38e65af086211a921e083ee07
diff --git a/pom.xml b/pom.xml
index fda28dc..7d796ce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,6 +11,8 @@
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <jackson.version>[2.10.3,)</jackson.version>
+        <maven.compiler.target>1.8</maven.compiler.target>
+        <maven.compiler.source>1.8</maven.compiler.source>
     </properties>
 
     <build>