You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:22:39 UTC

[sling-org-apache-sling-commons-metrics] 19/23: SLING-4080 - API to capture/measure application-level metrics

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.commons.metrics-0.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-metrics.git

commit 8b19b8e5183f151a8f73cb85c1561d6f611a4f1a
Author: Chetan Mehrotra <ch...@apache.org>
AuthorDate: Thu Jan 7 10:07:59 2016 +0000

    SLING-4080 - API to capture/measure application-level metrics
    
    Cleanup pom
    -- Make dependencies for WebConsole plugin optional and have DynamicImport package for them
    -- Removed unused dependencies
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/metrics@1723503 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index 641d996..4e6a5f0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,6 +52,19 @@
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Bundle-DocURL>
+              https://sling.apache.org/documentation/bundles/metrics.html
+            </Bundle-DocURL>
+            <DynamicImport-Package>
+              javax.servlet,
+              javax.servlet.http;version=2.3,
+              org.apache.commons.io.output;version=2.4.0,
+              org.apache.felix.inventory;version=1.0
+            </DynamicImport-Package>
+          </instructions>
+        </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.felix</groupId>
@@ -73,11 +86,7 @@
     <dependency>
       <groupId>javax.servlet</groupId>
       <artifactId>servlet-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.sling</groupId>
-      <artifactId>org.apache.sling.commons.osgi</artifactId>
-      <version>2.2.0</version>
+      <optional>true</optional>
     </dependency>
     <dependency>
       <groupId>org.osgi</groupId>
@@ -102,12 +111,14 @@
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
       <version>2.2</version>
+      <optional>true</optional>
     </dependency>
 
     <dependency>
       <groupId>org.hamcrest</groupId>
       <artifactId>hamcrest-all</artifactId>
       <version>1.3</version>
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>junit</groupId>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.