How To Install Java Artifact com.squareup.okhttp3.okhttp-apache v3.0.0-RC1

com.squareup.okhttp3 okhttp-apache 3.0.0-RC1

Introduction

In this article, we'll learn how to install Java artifact okhttp-apache from com.squareup.okhttp3 group in version 3.0.0-RC1. The artifact is available in 38 versions: 3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.2 3.12.1 3.12.0 3.11.0 3.10.0 3.9.1 3.9.0 3.8.1 3.8.0 3.7.0 3.6.0 3.5.0 3.4.2 3.4.1 3.4.0-RC1 3.4.0 3.3.1 3.3.0 3.2.0 3.1.2 3.1.1 3.1.0 3.0.1 3.0.0-RC1 3.0.0 The parent project is: com.squareup.okhttp3::parent::3.0.0-RC1

How To Install Java Artifact com.squareup.okhttp3.okhttp-apache In Version 3.0.0-RC1

To install the OkHttp Apache HttpClient artifact in version 3.0.0-RC1 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 OkHttp 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 (1)

Provided dependencies (1)

Test dependencies (3)