How To Install Java Artifact org.jmock.jmock-junit4 v2.6.0

org.jmock jmock-junit4 2.6.0

Introduction

In this article, we'll learn how to install Java artifact jmock-junit4 from org.jmock group in version 2.6.0. The artifact is available in 25 versions: 2.13.1 2.13.0 2.12.0 2.11.0 2.10.0-RC3 2.10.0-RC2 2.10.0-RC1 2.9.0 2.8.4 2.8.3 2.8.2 2.8.1 2.8.0 2.6.0-RC2 2.6.0 2.5.1 2.5.0.1 2.5.0-RC1 2.5.0 2.4.0 2.2.0-RC1 2.2.0 2.1.0-RC4 2.1.0 2.0.0 The parent project is: org.jmock::jmock-parent::2.6.0

How To Install Java Artifact org.jmock.jmock-junit4 In Version 2.6.0

To install the jMock JUnit 4 Extension artifact in version 2.6.0 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 jMock JUnit 4 Extension 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 (2)