How To Install Java Artifact com.squareup.okhttp.mockwebserver v2.0.0-RC2

com.squareup.okhttp mockwebserver 2.0.0-RC2

Introduction

In this article, we'll learn how to install Java artifact mockwebserver from com.squareup.okhttp group in version 2.0.0-RC2. The artifact is available in 26 versions: 2.7.5 2.7.4 2.7.3 2.7.2 2.7.1 2.7.0 2.6.0 2.5.0 2.4.0-RC1 2.4.0 2.3.0 2.2.0 2.1.0-RC1 2.1.0 2.0.0-RC2 2.0.0-RC1 2.0.0 1.6.0 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.3.0 1.2.1 1.2.0 The parent project is: com.squareup.okhttp::parent::2.0.0-RC2

How To Install Java Artifact com.squareup.okhttp.mockwebserver In Version 2.0.0-RC2

To install the MockWebServer artifact in version 2.0.0-RC2 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 MockWebServer 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)