You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2022/12/18 15:27:00 UTC

[jira] [Resolved] (KARAF-7605) Karaf BoM causes import of org.osgi.service.log to have lower bound 1.5.0 but only version 1.4.0 is available

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

Jean-Baptiste Onofré resolved KARAF-7605.
-----------------------------------------
    Fix Version/s: 4.4.3
       Resolution: Fixed

> 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
>             Fix For: 4.4.3
>
>
> 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)