Hi,
We have decided to upgrade our project to use HttpClient 4.5.8, so I am looking for Maven Dependency for this version of Apache HttpClient.
Can anyone share me the HttpClient 4.5.8 Maven Dependency code?
Thanks
Hi,
You just update the dependency code to:
<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.8</version> </dependency>
in your project.
After updating the dependency version you should compile and test your project. You many have to change your code if you are using any of the deprecated or removed methods.
Thanks
Hi,
If you are interested in Gradle dependency then use following code:
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.8'
Thanks
Hi,
Following should be used with the SBT:
libraryDependencies += "org.apache.httpcomponents" % "httpclient" % "4.5.8"
Thanks
With Ivy following dependency code can be used:
<dependency org="org.apache.httpcomponents" name="httpclient" rev="4.5.8"/>
Thanks