diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml
index 3e34373542..b0c61e2a3c 100644
--- a/spring-boot-dependencies/pom.xml
+++ b/spring-boot-dependencies/pom.xml
@@ -1013,6 +1013,12 @@
net.sourceforge.htmlunit
htmlunit
${htmlunit.version}
+
+
+ commons-logging
+ commons-logging
+
+
net.sourceforge.jtds
@@ -2196,6 +2202,12 @@
org.springframework.session
spring-session
${spring-session.version}
+
+
+ commons-logging
+ commons-logging
+
+
org.springframework.session
diff --git a/spring-boot-samples/pom.xml b/spring-boot-samples/pom.xml
index 6d2a7afbdd..f5a9255884 100644
--- a/spring-boot-samples/pom.xml
+++ b/spring-boot-samples/pom.xml
@@ -148,6 +148,29 @@
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+
+
+ enforce-rules
+
+ enforce
+
+
+
+
+
+ commons-logging:*:*
+
+ true
+
+
+ true
+
+
+
+