You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2022/02/16 16:57:55 UTC

[sling-org-apache-sling-commons-threads] branch master updated: SLING-11146 Add initial JPMS support

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

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-threads.git


The following commit(s) were added to refs/heads/master by this push:
     new 7fd9582  SLING-11146 Add initial JPMS support
7fd9582 is described below

commit 7fd9582b1164135b142349daff440e0be554260e
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Wed Feb 16 17:37:10 2022 +0100

    SLING-11146 Add initial JPMS support
    
    - add module info
    - narrow dependency down to OSGi Configuration Admin
    - update slf4j to use new module name
---
 bnd.bnd | 4 +++-
 pom.xml | 3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/bnd.bnd b/bnd.bnd
index 6ef6ae7..949be58 100644
--- a/bnd.bnd
+++ b/bnd.bnd
@@ -1,2 +1,4 @@
 Provide-Capability: osgi.service;objectClass=org.apache.sling.commons.threads.ThreadPoolManager,\
-    osgi.service;objectClass=org.apache.sling.commons.threads.jmx.ThreadPoolMBean
\ No newline at end of file
+    osgi.service;objectClass=org.apache.sling.commons.threads.jmx.ThreadPoolMBean
+
+-jpms-module-info:
diff --git a/pom.xml b/pom.xml
index a969bcb..b0defa1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,7 +62,7 @@
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>osgi.cmpn</artifactId>
+            <artifactId>org.osgi.service.cm</artifactId>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
@@ -75,6 +75,7 @@
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
+            <version>1.7.32</version>
         </dependency>
         <dependency>
             <groupId>junit</groupId>