Skip to content

Commit

Permalink
add httpcore dep required by httpclient in hostname-verification (apa…
Browse files Browse the repository at this point in the history
  • Loading branch information
rdhabalia committed Feb 15, 2018
1 parent 9d99dd3 commit 96d720c
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 1 deletion.
1 change: 1 addition & 0 deletions all/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ The Apache Software License, Version 2.0
* SnakeYaml -- org.yaml-snakeyaml-*.jar
* RocksDB - org.rocksdb.*.jar
* HttpClient - org.apache.httpcomponents.httpclient.jar
* HttCore - org.apache.httpcomponents.httpcore.jar
* CommonsLogging - commons-logging-*.jar

BSD 3-clause "New" or "Revised" License
Expand Down
7 changes: 7 additions & 0 deletions pulsar-broker-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
<include>com.wordnik:swagger-annotations</include>
<include>org.apache.httpcomponents:httpclient</include>
<include>commons-logging:commons-logging</include>
<include>org.apache.httpcomponents:httpcore</include>
</includes>
</artifactSet>
<filters>
Expand All @@ -121,6 +122,12 @@
<include>**</include>
</includes>
</filter>
<filter>
<artifact>commons-logging:commons-logging</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
<relocations>
<relocation>
Expand Down
9 changes: 9 additions & 0 deletions pulsar-client-kafka-compat/pulsar-client-kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,17 @@
<include>com.yahoo.datasketches:sketches-core</include>
<include>org.apache.httpcomponents:httpclient</include>
<include>commons-logging:commons-logging</include>
<include>org.apache.httpcomponents:httpcore</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>commons-logging:commons-logging</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.apache.kafka.clients.producer.KafkaProducer</pattern>
Expand Down
7 changes: 7 additions & 0 deletions pulsar-client-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
<include>com.yahoo.datasketches:sketches-core</include>
<include>org.apache.httpcomponents:httpclient</include>
<include>commons-logging:commons-logging</include>
<include>org.apache.httpcomponents:httpcore</include>
</includes>
</artifactSet>
<filters>
Expand All @@ -98,6 +99,12 @@
<include>**</include>
</includes>
</filter>
<filter>
<artifact>commons-logging:commons-logging</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
<relocations>
<relocation>
Expand Down
7 changes: 6 additions & 1 deletion pulsar-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,17 @@
</exclusions>
</dependency>

<!-- httpclient uses it for logging -->
<!-- httpclient-hostname-verification depends on below dependencies -->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.4.9</version>
</dependency>

</dependencies>

Expand Down

0 comments on commit 96d720c

Please sign in to comment.