How To Install Java Artifact org.powermock.powermock-api-mockito2 v1.6.6

org.powermock powermock-api-mockito2 1.6.6

Introduction

In this article, we'll learn how to install Java artifact powermock-api-mockito2 from org.powermock group in version 1.6.6. The artifact is available in 19 versions: 2.0.9 2.0.7 2.0.6 2.0.5 2.0.4 2.0.2 2.0.0-beta.5 2.0.0-RC.4 2.0.0-RC.3 2.0.0-RC.1 2.0.0 1.7.4 1.7.3 1.7.1 1.7.0RC4 1.7.0RC2 1.7.0 1.6.6 1.6.5 The parent project is: org.powermock::powermock-api::1.6.6

How To Install Java Artifact org.powermock.powermock-api-mockito2 In Version 1.6.6

To install the powermock-api-mockito2 artifact in version 1.6.6 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 powermock-api-mockito2 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)