From ada56c4e0f658079060b90d63db6734085b80327 Mon Sep 17 00:00:00 2001 From: Soby Chacko Date: Thu, 14 Jul 2022 12:11:42 -0400 Subject: [PATCH] Fixing Kafka binder build issues Update maven surefire-plugin to 3.0.0-M7 to address an issue with how the newly added GlobalEmbeddedKafkaTestExecutionListener in spring-kafka-test loads configuration parameters. The current versions (2.x) of the plugin are not properly loading these parameters. https://maven.apache.org/surefire/download.cgi --- binders/kafka-binder/pom.xml | 1 + samples/pom.xml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/binders/kafka-binder/pom.xml b/binders/kafka-binder/pom.xml index de7fb67ff..28427e24b 100644 --- a/binders/kafka-binder/pom.xml +++ b/binders/kafka-binder/pom.xml @@ -109,6 +109,7 @@ org.apache.maven.plugins maven-surefire-plugin + 3.0.0-M7 true diff --git a/samples/pom.xml b/samples/pom.xml index c230ca8ed..1e4aaf198 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -54,6 +54,14 @@ org.springframework.boot spring-boot-maven-plugin + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M7 + + true + +