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

cziegeler pushed a commit to branch appmod/java-upgrade-20250910060318
in repository https://gitbox.apache.org/repos/asf/sling-samples.git

commit cb8adea37c45e17448d773422c984ee0e8fb74b1
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Wed Sep 10 08:50:18 2025 +0200

    Replaced banned OSGi dependencies with individual chapter dependencies
---
 slingshot/pom.xml | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/slingshot/pom.xml b/slingshot/pom.xml
index 91e78e0..a95507a 100644
--- a/slingshot/pom.xml
+++ b/slingshot/pom.xml
@@ -152,7 +152,12 @@
         <!-- OSGi -->
         <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>osgi.core</artifactId>
+            <artifactId>org.osgi.framework</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.service.component</artifactId>
             <scope>provided</scope>
         </dependency>
         <dependency>
@@ -222,19 +227,19 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.testing.sling-mock-oak</artifactId>
-            <version>2.0.0</version>
+            <version>3.0.4</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
-            <version>2.0.4</version>
+            <version>3.5.2</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.testing.sling-mock</artifactId>
-            <version>2.0.0</version>
+            <version>3.5.2</version>
             <scope>test</scope>
         </dependency>
         <dependency>

Reply via email to