diff --git a/spring-cloud-contract-stub-runner/pom.xml b/spring-cloud-contract-stub-runner/pom.xml
index 9e6e8e3152..5d5dc2483f 100644
--- a/spring-cloud-contract-stub-runner/pom.xml
+++ b/spring-cloud-contract-stub-runner/pom.xml
@@ -89,6 +89,12 @@
org.springframework.kafka
spring-kafka-test
true
+
+
+ org.slf4j
+ slf4j-log4j12
+
+
org.apache.camel.springboot
diff --git a/spring-cloud-contract-verifier/pom.xml b/spring-cloud-contract-verifier/pom.xml
index ea86ab443c..4f53cb2dd0 100644
--- a/spring-cloud-contract-verifier/pom.xml
+++ b/spring-cloud-contract-verifier/pom.xml
@@ -57,6 +57,12 @@
org.springframework.kafka
spring-kafka-test
true
+
+
+ org.slf4j
+ slf4j-log4j12
+
+
jakarta.jms
diff --git a/tests/spring-cloud-contract-stub-runner-kafka/pom.xml b/tests/spring-cloud-contract-stub-runner-kafka/pom.xml
index f0adc01712..b4671df383 100644
--- a/tests/spring-cloud-contract-stub-runner-kafka/pom.xml
+++ b/tests/spring-cloud-contract-stub-runner-kafka/pom.xml
@@ -31,6 +31,12 @@
org.springframework.kafka
spring-kafka-test
test
+
+
+ org.slf4j
+ slf4j-log4j12
+
+
junit