diff --git a/spring-cloud-function-samples/function-sample-aws-custom-bean/pom.xml b/spring-cloud-function-samples/function-sample-aws-custom-bean/pom.xml
index 7719ca050..7075db0ac 100644
--- a/spring-cloud-function-samples/function-sample-aws-custom-bean/pom.xml
+++ b/spring-cloud-function-samples/function-sample-aws-custom-bean/pom.xml
@@ -39,23 +39,15 @@
org.slf4j
slf4j-jdk14
-
+
+ org.springframework.boot
+ spring-boot-starter-web
+
org.springframework.boot
spring-boot-starter-test
test
-
-
-
-
-
-
-
-
-
-
-
@@ -74,11 +66,6 @@
maven-surefire-plugin
-
-
-
-
-
org.apache.maven.plugins
diff --git a/spring-cloud-function-samples/function-sample-aws-custom/pom.xml b/spring-cloud-function-samples/function-sample-aws-custom/pom.xml
index 6cf0ac116..54cf164e0 100644
--- a/spring-cloud-function-samples/function-sample-aws-custom/pom.xml
+++ b/spring-cloud-function-samples/function-sample-aws-custom/pom.xml
@@ -25,25 +25,19 @@
org.springframework.cloud
spring-cloud-function-adapter-aws
-
-
-
-
org.springframework.cloud
spring-cloud-function-web
-
+ test
org.springframework.boot
spring-boot-starter-web
-
-
-
- org.springframework
- spring-web
-
+
+
+
+
org.springframework.boot
spring-boot-starter