diff --git a/spring-boot-project/spring-boot-dependencies/src/main/xslt/post-process-flattened-pom.xsl b/spring-boot-project/spring-boot-dependencies/src/main/xslt/post-process-flattened-pom.xsl
index f00a6e8da0..340d4759c4 100644
--- a/spring-boot-project/spring-boot-dependencies/src/main/xslt/post-process-flattened-pom.xsl
+++ b/spring-boot-project/spring-boot-dependencies/src/main/xslt/post-process-flattened-pom.xsl
@@ -3,7 +3,7 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:m="http://maven.apache.org/POM/4.0.0"
exclude-result-prefixes="m">
+ xslt:indent-amount="2" xmlns:xslt="http://xml.apache.org/xslt" />