You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ch...@apache.org on 2017/08/21 05:49:56 UTC

svn commit: r1805602 - /sling/trunk/bundles/commons/metrics/pom.xml

Author: chetanm
Date: Mon Aug 21 05:49:56 2017
New Revision: 1805602

URL: http://svn.apache.org/viewvc?rev=1805602&view=rev
Log:
SLING-7047 - Update Dropwizard Metrics bundles to 3.2 to eliminate sun.misc dependency.

Added a Import-Package with version range which include 3.1 so that
commons metrics can be used in setups having older version

Modified:
    sling/trunk/bundles/commons/metrics/pom.xml

Modified: sling/trunk/bundles/commons/metrics/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/metrics/pom.xml?rev=1805602&r1=1805601&r2=1805602&view=diff
==============================================================================
--- sling/trunk/bundles/commons/metrics/pom.xml (original)
+++ sling/trunk/bundles/commons/metrics/pom.xml Mon Aug 21 05:49:56 2017
@@ -58,6 +58,10 @@
                         <Bundle-DocURL>
                             https://sling.apache.org/documentation/bundles/metrics.html
                         </Bundle-DocURL>
+                        <Import-Package>
+                            com.codahale.metrics*;version="[3.1, 4)",
+                            *
+                        </Import-Package>
                         <DynamicImport-Package>
                             javax.servlet,
                             javax.servlet.http;version="[2.3,3)",
@@ -127,7 +131,7 @@
         <dependency>
             <groupId>io.dropwizard.metrics</groupId>
             <artifactId>metrics-core</artifactId>
-            <version>3.1.0</version>
+            <version>3.2.3</version>
         </dependency>
         <dependency>
             <groupId>javax.servlet</groupId>