How To Install Java Artifact com.codahale.metrics.metrics-servlet v3.0.0-RC1

com.codahale.metrics metrics-servlet 3.0.0-RC1

Introduction

In this article, we'll learn how to install Java artifact metrics-servlet from com.codahale.metrics group in version 3.0.0-RC1. The artifact is available in 6 versions: 3.0.2 3.0.1 3.0.0-RC1 3.0.0-BETA3 3.0.0-BETA2 3.0.0 The parent project is: com.codahale.metrics::metrics-parent::3.0.0-RC1

How To Install Java Artifact com.codahale.metrics.metrics-servlet In Version 3.0.0-RC1

To install the Metrics Integration for Servlets artifact in version 3.0.0-RC1 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 Metrics Integration for Servlets 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)

Provided dependencies (1)