diff --git a/spring-boot-samples/spring-boot-sample-custom-layout/src/it/custom/pom.xml b/spring-boot-samples/spring-boot-sample-custom-layout/src/it/custom/pom.xml
index c8e41f877d..a4e8aa16d0 100644
--- a/spring-boot-samples/spring-boot-sample-custom-layout/src/it/custom/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-custom-layout/src/it/custom/pom.xml
@@ -6,6 +6,8 @@
custom
0.0.1.BUILD-SNAPSHOT
+ 1.8
+ 1.8
UTF-8
diff --git a/spring-boot-samples/spring-boot-sample-custom-layout/src/it/default/pom.xml b/spring-boot-samples/spring-boot-sample-custom-layout/src/it/default/pom.xml
index 8f5ef946cb..9b891c19d3 100644
--- a/spring-boot-samples/spring-boot-sample-custom-layout/src/it/default/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-custom-layout/src/it/default/pom.xml
@@ -6,6 +6,8 @@
default
0.0.1.BUILD-SNAPSHOT
+ 1.8
+ 1.8
UTF-8