diff --git a/pom.xml b/pom.xml
index b5e0d5d8e40..7305ea7594c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -233,7 +233,7 @@
${basedir}/spring-boot-samples/**/build.gradle
- springBootVersion\s+.*+
+ springBootVersion =\s+.*+
springBootVersion = '${project.version}'