Skip to content

[KARAF-2195] Fix assembly resolution failure when feature requires wrap protocol (4.4.x)#2552

Merged
jbonofre merged 1 commit intoapache:karaf-4.4.xfrom
jbonofre:fix/KARAF-2195-4.4.x
Apr 20, 2026
Merged

[KARAF-2195] Fix assembly resolution failure when feature requires wrap protocol (4.4.x)#2552
jbonofre merged 1 commit intoapache:karaf-4.4.xfrom
jbonofre:fix/KARAF-2195-4.4.x

Conversation

@jbonofre
Copy link
Copy Markdown
Member

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.

…ap 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.
@jbonofre jbonofre merged commit 5bfd285 into apache:karaf-4.4.x Apr 20, 2026
6 checks passed
@jbonofre jbonofre deleted the fix/KARAF-2195-4.4.x branch April 20, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to create a karaf-assembly using karaf-maven-plugin when feature requires wrap protocol

1 participant