Metrics Guice Support.
Guice integration with Metrics..
Here is the list of declaration for metrics-guice. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.palominolabs.metrics</groupId> <artifactId>metrics-guice</artifactId> <version>3.0.0-BETA1</version> </dependency>
If you think this Maven repository POM file listing for metrics-guice is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache License 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.html.
The metrics-guice-3.0.0-BETA1 has 13 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Jetty | javax.servlet 3.0.0.v201112011016 This artifact originates from the Orbit Project at Eclipse, it is an osgi bundle and is signed as well. | 25 |
Log | slf4j-simple 1.7.5 SLF4J Simple binding | 47 |
JUnit | junit 4.10 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 1957 |
Jetty | jetty-server 9.0.3.v20130506 The core jetty server artifact. | 5 |
Jetty | jetty-servlet 9.0.3.v20130506 Jetty Servlet Container | 5 |
The following plugins are used in the metrics-guice-3.0.0-BETA1.jar
The following packages are defined in the metrics-guice-3.0.0-BETA1.jar
com.palominolabs.metrics.guice com.palominolabs.metrics.guice.servlet
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.palominolabs.metrics</groupId> <artifactId>metrics-guice</artifactId> <version>3.0.0-BETA1</version> <name>Metrics Guice Support</name> <packaging>bundle</packaging> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent> <description>Guice integration with Metrics.</description> <url>https://github.com/palominolabs/metrics-guice</url> <licenses> <license> <name>Apache License 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:git@github.com:palominolabs/metrics-guice.git</connection> <developerConnection>scm:git:git@github.com:palominolabs/metrics-guice.git</developerConnection> <url>https://github.com/palominolabs/metrics-guice</url> </scm> <issueManagement> <system>github</system> <url>http://github.com/palominolabs/metrics-guice/issues#issue/</url> </issueManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <metrics.version>3.0.0-BETA3</metrics.version> <slf4j.version>1.7.5</slf4j.version> <guice.version>3.0</guice.version> <servlet.version>2.5</servlet.version> <jetty.version>9.0.3.v20130506</jetty.version> <jetty.servlet.version>3.0.0.v201112011016</jetty.servlet.version> </properties> <dependencies> <dependency> <groupId>com.codahale.metrics</groupId> <artifactId>metrics-core</artifactId> <version>${metrics.version}</version> </dependency> <dependency> <groupId>com.codahale.metrics</groupId> <artifactId>metrics-annotation</artifactId> <version>${metrics.version}</version> </dependency> <dependency> <groupId>com.codahale.metrics</groupId> <artifactId>metrics-healthchecks</artifactId> <version>${metrics.version}</version> </dependency> <dependency> <groupId>com.codahale.metrics</groupId> <artifactId>metrics-servlets</artifactId> <version>${metrics.version}</version> </dependency> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <version>${guice.version}</version> </dependency> <!-- dependencies for Guice/Servlet integration --> <dependency> <groupId>org.eclipse.jetty.orbit</groupId> <artifactId>javax.servlet</artifactId> <version>3.0.0.v201112011016</version> <optional>true</optional> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-servlet</artifactId> <version>${guice.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> <version>1.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.ning</groupId> <artifactId>async-http-client</artifactId> <version>1.7.15</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.3.7</version> <extensions>true</extensions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.14.1</version> <configuration> <parallel>classes</parallel> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <quiet>true</quiet> </configuration> </plugin> </plugins> </build> </project>