How To Install Java Artifact org.hamcrest.hamcrest-library v1.3

org.hamcrest hamcrest-library 1.3

Introduction

In this article, we'll learn how to install Java artifact hamcrest-library from org.hamcrest group in version 1.3. The artifact is available in 12 versions: 2.2-rc1 2.2 2.1-rc4 2.1-rc3 2.1-rc2 2.1 1.3.RC2 1.3 1.2.1 1.2 1.1 1.0 The parent project is: org.hamcrest::hamcrest-parent::1.3

How To Install Java Artifact org.hamcrest.hamcrest-library In Version 1.3

To install the Hamcrest library artifact in version 1.3 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 Hamcrest library 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)