How To Install Java Artifact org.apache.httpcomponents.client5.httpclient5-osgi v5.0-beta2

org.apache.httpcomponents.client5 httpclient5-osgi 5.0-beta2

Introduction

In this article, we'll learn how to install Java artifact httpclient5-osgi from org.apache.httpcomponents.client5 group in version 5.0-beta2. The artifact is available in 5 versions: 5.0-beta2 5.0-beta1 5.0-alpha3 5.0-alpha2 5.0-alpha1 The Apache HttpClient OSGi bundle project has its own website at: http://hc.apache.org/httpcomponents-client. The parent project is: org.apache.httpcomponents.client5::httpclient5-parent::5.0-beta2

How To Install Java Artifact org.apache.httpcomponents.client5.httpclient5-osgi In Version 5.0-beta2

To install the Apache HttpClient OSGi bundle artifact in version 5.0-beta2 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 OSGi bundle 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 (4)

Provided dependencies (3)

Test dependencies (2)