diff --git a/byte-buddy-agent/pom.xml b/byte-buddy-agent/pom.xml
index 7d448e769d..b9a42e0cce 100644
--- a/byte-buddy-agent/pom.xml
+++ b/byte-buddy-agent/pom.xml
@@ -227,5 +227,32 @@
+
+ java8MultiRelease
+
+ false
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ ${version.plugin.compiler}
+
+
+ java8MultiRelease
+
+ compile
+
+
+ ${project.build.outputDirectory}/META-INF/versions/8
+ 1.8
+
+
+
+
+
+
+
diff --git a/byte-buddy-dep/pom.xml b/byte-buddy-dep/pom.xml
index 2f49c3225f..2d6c149267 100644
--- a/byte-buddy-dep/pom.xml
+++ b/byte-buddy-dep/pom.xml
@@ -357,6 +357,33 @@
+
+ java8MultiRelease
+
+ false
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ ${version.plugin.compiler}
+
+
+ java8MultiRelease
+
+ compile
+
+
+ ${project.build.outputDirectory}/META-INF/versions/8
+ 1.8
+
+
+
+
+
+
+
java-4-precompile