Skip to content

Commit aa560e7

Browse files
authored
No need to include http client in distribution (#16634)
1 parent 1ba2bb7 commit aa560e7

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

integration-test/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,16 @@
229229
<groupId>org.fusesource.mqtt-client</groupId>
230230
<artifactId>mqtt-client</artifactId>
231231
</dependency>
232+
<dependency>
233+
<groupId>org.apache.httpcomponents</groupId>
234+
<artifactId>httpclient</artifactId>
235+
<scope>test</scope>
236+
</dependency>
237+
<dependency>
238+
<groupId>org.apache.httpcomponents</groupId>
239+
<artifactId>httpcore</artifactId>
240+
<scope>test</scope>
241+
</dependency>
232242
</dependencies>
233243
<build>
234244
<plugins>

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,15 @@
213213
<groupId>javax.annotation</groupId>
214214
<artifactId>javax.annotation-api</artifactId>
215215
</exclusion>
216+
<!-- We don't use thrift http connection -->
217+
<exclusion>
218+
<groupId>org.apache.httpcomponents</groupId>
219+
<artifactId>httpclient</artifactId>
220+
</exclusion>
221+
<exclusion>
222+
<groupId>org.apache.httpcomponents</groupId>
223+
<artifactId>httpcore</artifactId>
224+
</exclusion>
216225
</exclusions>
217226
</dependency>
218227
<dependency>

0 commit comments

Comments
 (0)