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

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1805602 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index d7791af..d7f4a98 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>