JAMES-2521 Clean metrics-dropwizard dependencies
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/12bbdaae Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/12bbdaae Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/12bbdaae Branch: refs/heads/master Commit: 12bbdaae7f23f47afd097ddc70ac1877a5f69d7a Parents: 11a90ce Author: Benoit Tellier <[email protected]> Authored: Wed Aug 15 11:28:28 2018 +0700 Committer: Benoit Tellier <[email protected]> Committed: Wed Aug 29 10:12:44 2018 +0700 ---------------------------------------------------------------------- metrics/metrics-dropwizard/pom.xml | 8 -------- .../james/metrics/dropwizard/DropWizardMetricFactory.java | 3 +-- 2 files changed, 1 insertion(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/12bbdaae/metrics/metrics-dropwizard/pom.xml ---------------------------------------------------------------------- diff --git a/metrics/metrics-dropwizard/pom.xml b/metrics/metrics-dropwizard/pom.xml index 4ad04f6..13c0615 100644 --- a/metrics/metrics-dropwizard/pom.xml +++ b/metrics/metrics-dropwizard/pom.xml @@ -32,14 +32,6 @@ <dependencies> <dependency> <groupId>${james.groupId}</groupId> - <artifactId>james-server-filesystem-api</artifactId> - </dependency> - <dependency> - <groupId>${james.groupId}</groupId> - <artifactId>james-server-lifecycle-api</artifactId> - </dependency> - <dependency> - <groupId>${james.groupId}</groupId> <artifactId>metrics-api</artifactId> </dependency> <dependency> http://git-wip-us.apache.org/repos/asf/james-project/blob/12bbdaae/metrics/metrics-dropwizard/src/main/java/org/apache/james/metrics/dropwizard/DropWizardMetricFactory.java ---------------------------------------------------------------------- diff --git a/metrics/metrics-dropwizard/src/main/java/org/apache/james/metrics/dropwizard/DropWizardMetricFactory.java b/metrics/metrics-dropwizard/src/main/java/org/apache/james/metrics/dropwizard/DropWizardMetricFactory.java index eafb860..f2d5b11 100644 --- a/metrics/metrics-dropwizard/src/main/java/org/apache/james/metrics/dropwizard/DropWizardMetricFactory.java +++ b/metrics/metrics-dropwizard/src/main/java/org/apache/james/metrics/dropwizard/DropWizardMetricFactory.java @@ -25,7 +25,6 @@ import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import javax.inject.Inject; -import org.apache.commons.configuration.ConfigurationException; import org.apache.james.metrics.api.Metric; import org.apache.james.metrics.api.MetricFactory; import org.apache.james.metrics.api.TimeMetric; @@ -66,7 +65,7 @@ public class DropWizardMetricFactory implements MetricFactory { } @PostConstruct - public void start() throws ConfigurationException { + public void start() { jmxReporter.start(); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
