Skip to content

Commit 921fbfc

Browse files
authored
fix(httpclient): add reactor dependencies to JPMS test module
The maven-dependency-plugin:copy goal resolves artifacts from repositories, not the reactor. Without explicit dependencies on the httpclient modules, parallel builds (-T) fail when snapshots aren't published to the remote repository. Signed-off-by: Marc Nuri <[email protected]>
1 parent 6423874 commit 921fbfc

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

  • kubernetes-client-deps-compatibility-tests/kubernetes-client-httpclient-jpms

kubernetes-client-deps-compatibility-tests/kubernetes-client-httpclient-jpms/pom.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,34 @@
3535
</properties>
3636

3737
<dependencies>
38+
<!-- Declared as provided dependencies to ensure reactor build order.
39+
The maven-dependency-plugin:copy goal resolves from repositories, not the reactor,
40+
so without these dependencies, parallel builds (-T) may fail when snapshots aren't published. -->
41+
<dependency>
42+
<groupId>io.fabric8</groupId>
43+
<artifactId>kubernetes-httpclient-jdk</artifactId>
44+
<scope>provided</scope>
45+
</dependency>
46+
<dependency>
47+
<groupId>io.fabric8</groupId>
48+
<artifactId>kubernetes-httpclient-jetty</artifactId>
49+
<scope>provided</scope>
50+
</dependency>
51+
<dependency>
52+
<groupId>io.fabric8</groupId>
53+
<artifactId>kubernetes-httpclient-okhttp</artifactId>
54+
<scope>provided</scope>
55+
</dependency>
56+
<dependency>
57+
<groupId>io.fabric8</groupId>
58+
<artifactId>kubernetes-httpclient-vertx</artifactId>
59+
<scope>provided</scope>
60+
</dependency>
61+
<dependency>
62+
<groupId>io.fabric8</groupId>
63+
<artifactId>kubernetes-httpclient-vertx-5</artifactId>
64+
<scope>provided</scope>
65+
</dependency>
3866
<dependency>
3967
<groupId>org.junit.jupiter</groupId>
4068
<artifactId>junit-jupiter-engine</artifactId>

0 commit comments

Comments
 (0)