This is an automated email from the ASF dual-hosted git repository.

gitgabrio pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 0ab46ec7b [incubator-kie-issues#1783] Excluding 
junit-platform-launcher from spring-kafka-test to avoid version misalignment 
and consequent method not found exception (#2061)
0ab46ec7b is described below

commit 0ab46ec7bcf612d66bec3093447a0538d0e756e5
Author: Gabriele Cardosi <[email protected]>
AuthorDate: Thu Feb 6 11:06:55 2025 +0100

    [incubator-kie-issues#1783] Excluding junit-platform-launcher from 
spring-kafka-test to avoid version misalignment and consequent method not found 
exception (#2061)
    
    Co-authored-by: Gabriele-Cardosi <[email protected]>
---
 kogito-springboot-examples/process-kafka-multi-springboot/pom.xml   | 6 ++++++
 .../process-kafka-quickstart-springboot/pom.xml                     | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml 
b/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml
index 29b53f1f1..dd61617c4 100644
--- a/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml
+++ b/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml
@@ -82,6 +82,12 @@
     <dependency>
       <groupId>org.springframework.kafka</groupId>
       <artifactId>spring-kafka-test</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.junit.platform</groupId>
+          <artifactId>junit-platform-launcher</artifactId>
+        </exclusion>
+      </exclusions>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git 
a/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml 
b/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml
index 414231c69..7e225fa35 100644
--- a/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml
+++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml
@@ -82,6 +82,12 @@
     <dependency>
       <groupId>org.springframework.kafka</groupId>
       <artifactId>spring-kafka-test</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.junit.platform</groupId>
+          <artifactId>junit-platform-launcher</artifactId>
+        </exclusion>
+      </exclusions>
       <scope>test</scope>
     </dependency>
     <dependency>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to