diff --git a/spring-integration-samples/cafe/pom.xml b/spring-integration-samples/cafe/pom.xml
index 2dbcff50d1..5ecb6766fd 100644
--- a/spring-integration-samples/cafe/pom.xml
+++ b/spring-integration-samples/cafe/pom.xml
@@ -29,13 +29,19 @@
-
- false
- ${basedir}/src/main/resources
-
- META-INF/spring/*.xml
-
-
-
+
+ ${basedir}/src/main/java
+
+ **/*.xml
+
+
+
+ false
+ ${basedir}/src/main/resources
+
+ META-INF/spring/*.xml
+
+
+
\ No newline at end of file
diff --git a/spring-integration-samples/helloworld/pom.xml b/spring-integration-samples/helloworld/pom.xml
index ea890d860d..1e4ac4cd4e 100644
--- a/spring-integration-samples/helloworld/pom.xml
+++ b/spring-integration-samples/helloworld/pom.xml
@@ -30,14 +30,20 @@
-
- false
- ${basedir}/src/main/resources
-
- META-INF/spring/*.xml
-
-
-
+
+ ${basedir}/src/main/java
+
+ **/*.xml
+
+
+
+ false
+ ${basedir}/src/main/resources
+
+ META-INF/spring/*.xml
+
+
+