diff --git a/spring-boot-bootstrap/pom.xml b/spring-boot-bootstrap/pom.xml
index f1d5e9dac3..b5bf4bc7b6 100644
--- a/spring-boot-bootstrap/pom.xml
+++ b/spring-boot-bootstrap/pom.xml
@@ -298,7 +298,7 @@
maven-compiler-plugin
- **/cloud/*.java
+ **/cloud/config/*.java