Hi, Yes, not surprising: LogService is from cmpn so core is required.
Instead of using LogService, you can use slf4j (and so pax-logging), and you won’t have the core dependency (at least for logging). Regards JB > Le 28 mars 2021 à 11:30, Steinar Bang <[email protected]> a écrit : > >>>>>> Steinar Bang <[email protected]>: > >>> But I guess it would be better if I also switched to OSGi core 7.0.0 and >>> a corresponding version of OSGi services (1.4.0...?)...? > >> Which begs the question: why do my applications need maven dependencies >> to the OSGi core? > >> That may just be a historical leftover from what I was using before SCR >> (i.e. my own little DI framework)...? > >> I will try removing OSGi core from the maven dependencies of the >> applications. > > Using the OSGi LogService requires a provided dependency to osgi.core to > be able to build. > > So as long as I use LogService I need osgi.core as a provided dependency. >
