[ 
https://issues.apache.org/jira/browse/KARAF-7605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-7605:
----------------------------------------
    Target Version/s: 4.4.3

> Karaf BoM causes import of org.osgi.service.log to have lower bound 1.5.0 but 
> only version 1.4.0 is available
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-7605
>                 URL: https://issues.apache.org/jira/browse/KARAF-7605
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.4.0, 4.4.1, 4.4.2
>            Reporter: Steinar Bang
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> Using the karaf BoM for dependencies, maven-bundle-plugin will create an 
> import-package of org.osgi.service.log with lower bound 1.5.0, while the only 
> version of org.osgi.service.log provided by karaf is 1.4.0.
> So you get errors like this:
> {noformat}
>  Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to 
> resolve user-admin-with-testdb/0.0.0: missing requirement 
> [user-admin-with-testdb/0.0.0] osgi.identity; 
> osgi.identity=authservice-user-admin; type=karaf.feature [caused by: Unable 
> to resolve authservice-user-admin/0.0.0: missing requirement 
> [authservice-user-admin/0.0.0] osgi.identity; 
> osgi.identity=authservice-user-management-frontend; type=karaf.feature 
> [caused by: Unable to resolve 
> authservice-user-management-frontend/1.14.7.SNAPSHOT: missing requirement 
> [authservice-user-management-frontend/1.14.7.SNAPSHOT] osgi.identity; 
> osgi.identity=no.priv.bang.authservice.web.users.frontend; type=osgi.bundle; 
> version="[1.14.7.SNAPSHOT,1.14.7.SNAPSHOT]"; resolution:=mandatory [caused 
> by: Unable to resolve 
> no.priv.bang.authservice.web.users.frontend/1.14.7.SNAPSHOT: missing 
> requirement [no.priv.bang.authservice.web.users.frontend/1.14.7.SNAPSHOT] 
> osgi.wiring.package; 
> filter:="(&(osgi.wiring.package=org.osgi.service.log)(version>=1.5.0)(!(version>=2.0.0)))"]]]
>       at 
> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341)
>       ... 12 more
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to