diff --git a/core/pom.xml b/core/pom.xml index 6fc840c..7c9bd43 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -18,6 +18,12 @@ provided + + org.eclipse.microprofile.metrics + microprofile-metrics-api + ${microprofile-metrics.version} + + io.dropwizard.metrics metrics-core @@ -33,11 +39,6 @@ jackson-databind ${jackson.version} - - org.eclipse.microprofile.metrics - microprofile-metrics-api - ${microprofile-metrics.version} - \ No newline at end of file diff --git a/core/src/main/java/com/kumuluz/ee/metrics/MetricsExtension.java b/core/src/main/java/com/kumuluz/ee/metrics/MetricsExtension.java index 0d8ba42..9f2443b 100644 --- a/core/src/main/java/com/kumuluz/ee/metrics/MetricsExtension.java +++ b/core/src/main/java/com/kumuluz/ee/metrics/MetricsExtension.java @@ -38,6 +38,7 @@ * @since 1.0.0 */ @EeExtensionDef(name = "MetricsCommons", group = EeExtensionGroup.METRICS) +@EeComponentDependency(EeComponentType.SERVLET) @EeComponentDependency(EeComponentType.CDI) public class MetricsExtension implements Extension { diff --git a/logs/pom.xml b/logs/pom.xml index 4c9e495..dfc4128 100644 --- a/logs/pom.xml +++ b/logs/pom.xml @@ -17,6 +17,7 @@ kumuluzee-metrics-core provided + com.kumuluz.ee kumuluzee-cdi-weld diff --git a/logstash/pom.xml b/logstash/pom.xml index be86580..a35e9fb 100644 --- a/logstash/pom.xml +++ b/logstash/pom.xml @@ -17,6 +17,7 @@ kumuluzee-metrics-core provided + com.kumuluz.ee kumuluzee-cdi-weld diff --git a/pom.xml b/pom.xml index d2b8278..02de567 100644 --- a/pom.xml +++ b/pom.xml @@ -30,9 +30,9 @@ 2.4.1 + 1.0 3.2.4 2.8.10 - 1.0 3.6.1 1.6.8 @@ -91,7 +91,7 @@ com.kumuluz.ee.metrics kumuluzee-metrics-core - 1.0.0-SNAPSHOT + ${project.version}