Skip to content

Commit d3063d0

Browse files
committed
Use standalone wiremock
The standalone version of wiremock shades all of its dependencies so they don't conflict with dependencies that the SDK shares with it. In particular, this solves a recent compatibility issue with the differing Apache 5.x httpclient dependencies causing initialization issues with wiremock.
1 parent 3168003 commit d3063d0

File tree

30 files changed

+56
-39
lines changed

30 files changed

+56
-39
lines changed

bom-internal/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@
324324
</dependency>
325325
<dependency>
326326
<groupId>com.github.tomakehurst</groupId>
327-
<artifactId>wiremock-jre8</artifactId>
327+
<artifactId>wiremock-jre8-standalone</artifactId>
328328
<version>${wiremock.version}</version>
329329
<scope>test</scope>
330330
</dependency>

core/auth-crt/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
</dependency>
9393
<dependency>
9494
<groupId>com.github.tomakehurst</groupId>
95-
<artifactId>wiremock-jre8</artifactId>
95+
<artifactId>wiremock-jre8-standalone</artifactId>
9696
<scope>test</scope>
9797
</dependency>
9898
<dependency>

core/auth/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
</dependency>
116116
<dependency>
117117
<groupId>com.github.tomakehurst</groupId>
118-
<artifactId>wiremock-jre8</artifactId>
118+
<artifactId>wiremock-jre8-standalone</artifactId>
119119
<scope>test</scope>
120120
</dependency>
121121
<dependency>

core/aws-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
</dependency>
153153
<dependency>
154154
<groupId>com.github.tomakehurst</groupId>
155-
<artifactId>wiremock-jre8</artifactId>
155+
<artifactId>wiremock-jre8-standalone</artifactId>
156156
<scope>test</scope>
157157
</dependency>
158158
<dependency>

core/imds/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
</dependency>
9898
<dependency>
9999
<groupId>com.github.tomakehurst</groupId>
100-
<artifactId>wiremock-jre8</artifactId>
100+
<artifactId>wiremock-jre8-standalone</artifactId>
101101
<scope>test</scope>
102102
</dependency>
103103
<dependency>

core/metrics-spi/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</dependency>
4545
<dependency>
4646
<groupId>com.github.tomakehurst</groupId>
47-
<artifactId>wiremock-jre8</artifactId>
47+
<artifactId>wiremock-jre8-standalone</artifactId>
4848
<scope>test</scope>
4949
</dependency>
5050
<dependency>

core/regions/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
</dependency>
7676
<dependency>
7777
<groupId>com.github.tomakehurst</groupId>
78-
<artifactId>wiremock-jre8</artifactId>
78+
<artifactId>wiremock-jre8-standalone</artifactId>
7979
<scope>test</scope>
8080
</dependency>
8181
<dependency>

core/sdk-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
</dependency>
125125
<dependency>
126126
<groupId>com.github.tomakehurst</groupId>
127-
<artifactId>wiremock-jre8</artifactId>
127+
<artifactId>wiremock-jre8-standalone</artifactId>
128128
<scope>test</scope>
129129
</dependency>
130130
<dependency>

http-clients/apache-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
</dependency>
9090
<dependency>
9191
<groupId>com.github.tomakehurst</groupId>
92-
<artifactId>wiremock-jre8</artifactId>
92+
<artifactId>wiremock-jre8-standalone</artifactId>
9393
<scope>test</scope>
9494
</dependency>
9595

http-clients/apache5-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
</dependency>
111111
<dependency>
112112
<groupId>com.github.tomakehurst</groupId>
113-
<artifactId>wiremock-jre8</artifactId>
113+
<artifactId>wiremock-jre8-standalone</artifactId>
114114
<scope>test</scope>
115115
</dependency>
116116
</dependencies>

0 commit comments

Comments
 (0)