These dependencies are not necessary as they come with cmpn. Regards JB
> Le 31 mai 2021 à 15:08, Steinar Bang <s...@dod.no> a écrit : > >>>>>> Jean-Baptiste Onofre <j...@nanthrax.net>: > >> Hi Steinar, >> I just checked and both osgi.core and osgi.cmpn are part of the Karaf BoM >> (as I thought ;) ): > >> https://github.com/apache/karaf/blob/main/bom/pom.xml#L39 >> <https://github.com/apache/karaf/blob/main/bom/pom.xml#L39> > > Hm... that one should be correct. But the artifactId changed here > between OSGi 6 and 7 and I started using the BoM in karaf 4.2.11 and > just filled up with versions for those dependencies that couldn't find > their so I may have been confused here. > > But this should work for me, so I'll correct this in my projects. Thanks! > >> https://github.com/apache/karaf/blob/main/bom/pom.xml#L525 >> <https://github.com/apache/karaf/blob/main/bom/pom.xml#L525> > > I'm thinking of stuff that is part of the compendium, e.g. (for OSGi 7) > The log service: > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.service.log</artifactId> > <version>1.4.0</version> > <scope>provided</scope> > </dependency> > > the SCR annotations: > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.service.component.annotations</artifactId> > <version>1.4.0</version> > <scope>provided</scope> > </dependency> > > the OSGi 7 web whiteboard annotations: > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.service.http.whiteboard</artifactId> > <version>1.1.0</version> > <scope>provided</scope> > </dependency> > > (these are the ones I use, but there is probably a lot of others for > stuff I don't know about. Also, I'm not sure of the OSGi 7 web > whiteboard maven dependency? I found that one by digging around on > maven central and it seems to have the correct contents and a publishing > date matching the rest of the OSGi 7 stuff...?) >