Hi Steinar,

My bad, I forgot to include it in 4.4.2. Can you please create a Jira
about that ? I will submit 4.4.3 to vote soon including this.

Regards
JB

On Fri, Nov 4, 2022 at 8:00 PM Steinar Bang <[email protected]> wrote:
>
> >>>>> Jean-Baptiste Onofré <[email protected]>:
>
> > My bad, I forgot to include this change in Pax logging for Karaf
> > 4.4.1. I will tackle Pax Logging issue #410 asap.
>
> Hm... this is still an issue in the karaf 4.4.2 BOM.
>
> Recap: Using the karaf BOM I get an org.osgi.service.log with 1.5.0 as
> the lower bound, while karaf offers up org.osgi.service.log with 1.5.0,
> so without manually adjusting the org.osgi.service.log import in the
> maven-bundle-plugin I get this error:
>
>  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
>
>
> @JB: should I make a Jira for this so it won't be forgotten for karaf 4.4.3?
>
> For the time being, I'll continue with this workaround:
>  
> https://github.com/steinarb/bang-bompom/blob/d236b137426e95ce5d7c30675dc0b5c10589332f/bang-pom/pom.xml#L89
>

Reply via email to