diff --git a/pom.xml b/pom.xml
index d95bc45fcc0..39faac394ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -99,9 +99,11 @@
+ input="${version-type}" regexp="(M)\d+" replace="MILESTONE" />
+ input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" />
+
diff --git a/spring-boot-cli/pom.xml b/spring-boot-cli/pom.xml
index 18733fa4069..4e947595d4e 100644
--- a/spring-boot-cli/pom.xml
+++ b/spring-boot-cli/pom.xml
@@ -301,9 +301,11 @@
+ input="${version-type}" regexp="(M)\d+" replace="MILESTONE" />
+ input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" />
+