You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2021/09/07 16:01:19 UTC

[karaf-decanter] branch main updated: [KARAF-7202] Upgrade to dropwizard 4.2.3

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

jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/karaf-decanter.git


The following commit(s) were added to refs/heads/main by this push:
     new 9f3a674  [KARAF-7202] Upgrade to dropwizard 4.2.3
     new e84dedb  Merge pull request #253 from jbonofre/KARAF-7202
9f3a674 is described below

commit 9f3a674f88d76160db1633a0b39b61570bf7962f
Author: Jean-Baptiste Onofré <jb...@apache.org>
AuthorDate: Mon Sep 6 16:17:05 2021 +0200

    [KARAF-7202] Upgrade to dropwizard 4.2.3
---
 appender/dropwizard/pom.xml  | 26 +++++++++++++++++++++++++-
 collector/dropwizard/pom.xml | 26 +++++++++++++++++++++++++-
 2 files changed, 50 insertions(+), 2 deletions(-)

diff --git a/appender/dropwizard/pom.xml b/appender/dropwizard/pom.xml
index 04310af..e68f07f 100644
--- a/appender/dropwizard/pom.xml
+++ b/appender/dropwizard/pom.xml
@@ -37,8 +37,32 @@
         <dependency>
             <groupId>io.dropwizard.metrics</groupId>
             <artifactId>metrics-core</artifactId>
-            <version>4.1.16</version>
+            <version>4.2.3</version>
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <inherited>true</inherited>
+                <extensions>true</extensions>
+                <configuration>
+                    <obrRepository>NONE</obrRepository>
+                    <instructions>
+                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                        <Import-Package>
+                            !com.codahale.metrics,
+                            *
+                        </Import-Package>
+                        <Private-Package>
+                            com.codahale.metrics
+                        </Private-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>
diff --git a/collector/dropwizard/pom.xml b/collector/dropwizard/pom.xml
index ef8db31..d922421 100644
--- a/collector/dropwizard/pom.xml
+++ b/collector/dropwizard/pom.xml
@@ -37,8 +37,32 @@
         <dependency>
             <groupId>io.dropwizard.metrics</groupId>
             <artifactId>metrics-core</artifactId>
-            <version>4.1.16</version>
+            <version>4.2.3</version>
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <inherited>true</inherited>
+                <extensions>true</extensions>
+                <configuration>
+                    <obrRepository>NONE</obrRepository>
+                    <instructions>
+                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                        <Import-Package>
+                            !com.codahale.metrics,
+                            *
+                        </Import-Package>
+                        <Private-Package>
+                            com.codahale.metrics
+                        </Private-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>