Bug 1297851 - Deployment of infinispan-remote in Karaf fails due to missing requirement org.slf4j.impl
Deployment of infinispan-remote in Karaf fails due to missing requirement org...
Product: JBoss Data Grid 6
Classification: JBoss
Component: Build (Show other bugs)
Unspecified Unspecified
unspecified Severity high
: CR2
: 6.6.0
Assigned To: Sebastian Łaskawiec
Martin Gencur
Depends On:
  Show dependency treegraph
Reported: 2016-01-12 10:51 EST by Jiri Holusa
Modified: 2018-01-29 11:07 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jiri Holusa 2016-01-12 10:51:38 EST
After resolving https://bugzilla.redhat.com/show_bug.cgi?id=1285808 , new thing raised. When deploying tests with infinispan-remote in Karaf (both 2.x or 3.0.0), I get following exception:

Could not start bundle mvn:org.infinispan/infinispan-remote/6.4.0.Final-redhat-1 in feature(s) infinispan-remote-6.4.0.Final-redhat-1: Unresolved constraint in bundle org.infinispan.remote [54]: Unable to resolve 54.0: missing requirement [54.0] osgi.wiring.package; (osgi.wiring.package=org.slf4j.impl)

The trouble is that infinispan-remote's (6.6.0.CR1) MANIFEST.MF contains 
Import-Package: ... resolution:=optional,org.slf4j.impl

I checked infinispan-remote's MANIFEST.MF in 6.6.0.ER1, where it worked, and there isn't the impl package, but:
Import-Package: ... resolution:=optional,org.slf4j,org.slf4j.spi

When I try to replace the string from CR1 by the string from ER1, everything works fine.
Comment 1 Martin Gencur 2016-01-12 10:56:17 EST
This one looks like the cause: https://bugzilla.redhat.com/show_bug.cgi?id=1266831

Note You need to log in before you can comment on or make changes to this bug.