Skip to content

Commit 1134b22

Browse files
manusaclaude
andcommitted
fix(chaos-tests): prevent Vert.x 4/5 classpath conflict
Remove unconditional kubernetes-httpclient-vertx dependency that caused both Vert.x 4 and Vert.x 5 HTTP clients to be on the classpath when running with -Phttpclient-vertx-5 profile. Add vertx.version property override in httpclient-vertx-5 profile to ensure Vert.x 5.0.7 is used instead of parent POM's default 4.5.24. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 710427d commit 1134b22

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

chaos-tests/pom.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@
5757
</exclusion>
5858
</exclusions>
5959
</dependency>
60-
<dependency>
61-
<groupId>io.fabric8</groupId>
62-
<artifactId>kubernetes-httpclient-vertx</artifactId>
63-
<scope>test</scope>
64-
</dependency>
6560

6661
<dependency>
6762
<groupId>org.slf4j</groupId>
@@ -188,6 +183,9 @@
188183
</profile>
189184
<profile>
190185
<id>httpclient-vertx-5</id>
186+
<properties>
187+
<vertx.version>5.0.7</vertx.version>
188+
</properties>
191189
<dependencies>
192190
<dependency>
193191
<groupId>io.fabric8</groupId>

0 commit comments

Comments
 (0)