How To Install Java Artifact com.spotify.hamcrest-optional v1.1.1

com.spotify hamcrest-optional 1.1.1

Introduction

In this article, we'll learn how to install Java artifact hamcrest-optional from com.spotify group in version 1.1.1. The artifact is available in 12 versions: 1.3.2 1.3.1 1.2.0 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.2 1.0.1 1.0.0 The parent project is: com.spotify::hamcrest::1.1.1

How To Install Java Artifact com.spotify.hamcrest-optional In Version 1.1.1

To install the Com Spotify Hamcrest Optional artifact in version 1.1.1 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 Com Spotify Hamcrest Optional 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)

Test dependencies (2)