Thanks,

I will take a look on your project/features asap (I will travel
tomorrow and Monday, but I should have time mid week).

Regards
JB

On Sat, May 14, 2022 at 12:34 PM Steinar Bang <s...@dod.no> wrote:
>
> >>>>> Jean-Baptiste Onofré <j...@nanthrax.net>:
>
> > Hi,
> > It looks related to the resolver: it seems you have an infinite loop
> > in requirements check for your feature.
>
> Ok, so you're saying the problem is in my features and not in the
> resolver?
>
> > Do you have something special in terms of req/cap in your feature (and
> > bundles in the feature) ?
>
> Well, both of the applications I have looked at have pulled in their a
> third feature, called authservice, so that is a possible loop...?
>
> The two applications where I have seen the problem, are:
>  1. https://github.com/steinarb/oldalbum
>     Install: 
> https://github.com/steinarb/oldalbum#installation-with-test-database
>     (this will install from maven central, it is possible that you need
>     to build a local snapshot and install from that to trigger the
>     issue...? (I haven't checked yet))
>  2. https://github.com/steinarb/sampleapp
>     Build and install: 
> https://github.com/steinarb/sampleapp#installing-the-sample-application
>
> The third feature they both pull in, is: 
> https://github.com/steinarb/authservice
> (provides shiro based authentication for webapps)
>
> All of these three applications consist of OSGi bundles with
> accompanying features created by karaf-maven-plugin, and with
> handwritten features on top of those that install the application.
>
> The handwritten features, are:
>  1. 
> https://github.com/steinarb/oldalbum/blob/master/karaf/src/main/filtered-resources/feature.xml#L16
>  2. 
> https://github.com/steinarb/sampleapp/blob/master/karaf/src/main/filtered-resources/feature.xml#L16
>
> I'm off to the mountains now for a long weekend and I don't have time to
> debug this closer now, but will do so when I get back down.
>

Reply via email to