How To Install Java Artifact org.apache.httpcomponents.client5.httpclient5-cache v5.0-beta5

org.apache.httpcomponents.client5 httpclient5-cache 5.0-beta5

Introduction

In this article, we'll learn how to install Java artifact httpclient5-cache from org.apache.httpcomponents.client5 group in version 5.0-beta5. The artifact is available in 32 versions: 5.4-alpha2 5.4-alpha1 5.3.1 5.3-alpha1 5.3 5.2.3 5.2.2 5.2.1 5.2-beta1 5.2-alpha1 5.2 5.1.4 5.1.3 5.1.2 5.1.1 5.1-beta1 5.1 5.0.4 5.0.3 5.0.2 5.0.1 5.0-beta7 5.0-beta6 5.0-beta5 5.0-beta4 5.0-beta3 5.0-beta2 5.0-beta1 5.0-alpha3 5.0-alpha2 5.0-alpha1 5.0 The Apache HttpClient Cache project has its own website at: http://hc.apache.org/httpcomponents-client. The parent project is: org.apache.httpcomponents.client5::httpclient5-parent::5.0-beta5

How To Install Java Artifact org.apache.httpcomponents.client5.httpclient5-cache In Version 5.0-beta5

To install the Apache HttpClient Cache artifact in version 5.0-beta5 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 Cache 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 (5)

Test dependencies (5)