How To Install Java Artifact org.hamcrest.hamcrest-api v1.0

org.hamcrest hamcrest-api 1.0

Introduction

In this article, we'll learn how to install Java artifact hamcrest-api from org.hamcrest group in version 1.0. The artifact is available in 1 versions: 1.0 . The Hamcrest API project has been released under BSD Licence license, and has its own website at: http://code.google.com/p/hamcrest .

How To Install Java Artifact org.hamcrest.hamcrest-api In Version 1.0

To install the Hamcrest API artifact in version 1.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 Hamcrest API 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.

Licenses