From 677e6741d988949f13ea7757603c991473d21660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JB=20Onofr=C3=A9?= Date: Mon, 20 Apr 2026 07:03:09 +0200 Subject: [PATCH] [KARAF-2195] Fix assembly resolution failure when feature requires wrap protocol The pax-url-wrap feature's bundle (org.ops4j.pax.url.wrap uber jar) has a mandatory Import-Package on org.osgi.service.log, but this package is not satisfiable during assembly prerequisite resolution because pax-logging-api (which provides it) is only in the framework feature and not part of the prerequisite deployment context. Add pax-logging-api as a dependency bundle in the pax-url-wrap feature so the resolver can satisfy the org.osgi.service.log requirement when pax-url-wrap is resolved as a prerequisite without the framework feature. --- assemblies/features/standard/pom.xml | 5 +++++ assemblies/features/standard/src/main/feature/feature.xml | 1 + 2 files changed, 6 insertions(+) diff --git a/assemblies/features/standard/pom.xml b/assemblies/features/standard/pom.xml index bd4ae17f247..c69a3bc6325 100644 --- a/assemblies/features/standard/pom.xml +++ b/assemblies/features/standard/pom.xml @@ -152,6 +152,11 @@ uber provided + + org.ops4j.pax.logging + pax-logging-api + provided + diff --git a/assemblies/features/standard/src/main/feature/feature.xml b/assemblies/features/standard/src/main/feature/feature.xml index b923ac77ca6..1165ab838ee 100644 --- a/assemblies/features/standard/src/main/feature/feature.xml +++ b/assemblies/features/standard/src/main/feature/feature.xml @@ -1495,6 +1495,7 @@ org.apache.felix.eventadmin.AddSubject=true + mvn:org.ops4j.pax.logging/pax-logging-api/${pax.logging.version} mvn:org.ops4j.pax.url/pax-url-wrap/${pax.url.version}/jar/uber