How To Install Java Artifact org.apache.httpcomponents.httpclient v4.5.8

org.apache.httpcomponents httpclient 4.5.8

Introduction

In this article, we'll learn how to install Java artifact httpclient from org.apache.httpcomponents group in version 4.5.8. The artifact is available in 55 versions: 4.5.14 4.5.13 4.5.12 4.5.11 4.5.10 4.5.9 4.5.8 4.5.7 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5 4.4.1 4.4-beta1 4.4-alpha1 4.4 4.3.6 4.3.5 4.3.4 4.3.3 4.3.2 4.3.1 4.3-beta2 4.3-beta1 4.3-alpha1 4.3 4.2.6 4.2.5 4.2.4 4.2.3 4.2.2 4.2.1 4.2-beta1 4.2-alpha1 4.2 4.1.3 4.1.2 4.1.1 4.1-beta1 4.1-alpha2 4.1-alpha1 4.1 4.0.3 4.0.2 4.0.1 4.0-beta2 4.0-beta1 4.0-alpha4 4.0-alpha3 4.0-alpha2 4.0-alpha1 4.0 The Apache HttpClient project has its own website at: http://hc.apache.org/httpcomponents-client. The parent project is: org.apache.httpcomponents::httpcomponents-client::4.5.8

How To Install Java Artifact org.apache.httpcomponents.httpclient In Version 4.5.8

To install the Apache HttpClient artifact in version 4.5.8 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses Apache HttpClient dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.

Compile dependencies (3)

Test dependencies (2)