diff --git a/code_size/pom.xml b/code_size/pom.xml
index 65fbca3847fb3f489a74e2d696112808e89b5bdc..4c9dd4c28b3eab4eb99a219f230139c842a30239 100644
--- a/code_size/pom.xml
+++ b/code_size/pom.xml
@@ -12,6 +12,15 @@
   </properties>
   <build>
     <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.8.1</version>
+                <configuration>
+                    <source>8</source>
+                    <target>8</target>
+                </configuration>
+            </plugin>
       <plugin>
 	<groupId>org.apache.maven.plugins</groupId>
 	<artifactId>maven-jar-plugin</artifactId>