Re: Nice if OSGi and OSGi compendium versions were part of the karaf BoM

2021-05-31 Thread Jean-Baptiste Onofre
Who cares about JPMS ? ;) It’s deprecated right ? ;) > Le 31 mai 2021 à 17:22, Robert Varga a écrit : > > On 31/05/2021 16:50, Jean-Baptiste Onofre wrote: >> These dependencies are not necessary as they come with cmpn. > > True, but you need the split out artifacts to make JPMS work reasonably:

Re: Nice if OSGi and OSGi compendium versions were part of the karaf BoM

2021-05-31 Thread Robert Varga
On 31/05/2021 16:50, Jean-Baptiste Onofre wrote: > These dependencies are not necessary as they come with cmpn. True, but you need the split out artifacts to make JPMS work reasonably: https://github.com/opendaylight/yangtools/blob/master/xpath/yang-xpath-impl/src/main/java/module-info.java#L26 h

Re: Nice if OSGi and OSGi compendium versions were part of the karaf BoM

2021-05-31 Thread Jean-Baptiste Onofre
These dependencies are not necessary as they come with cmpn. Regards JB > Le 31 mai 2021 à 15:08, Steinar Bang a écrit : > >> Jean-Baptiste Onofre : > >> Hi Steinar, >> I just checked and both osgi.core and osgi.cmpn are part of the Karaf BoM >> (as I thought ;) ): > >> https://github.co

Re: Nice if OSGi and OSGi compendium versions were part of the karaf BoM

2021-05-31 Thread Jean-Baptiste Onofre
I’m not sure about pax-jdbc, as it’s more a third party (I don’t want to introduce kind of infinite loop ;) ). Let me think about that ;) Regards JB > Le 31 mai 2021 à 16:28, Steinar Bang a écrit : > > But pax-jdbc isn't in https://github.com/apache/karaf/blob/main/bom/pom.xml > > Should it

Re: Nice if OSGi and OSGi compendium versions were part of the karaf BoM

2021-05-31 Thread Steinar Bang
But pax-jdbc isn't in https://github.com/apache/karaf/blob/main/bom/pom.xml Should it be?

Re: Nice if OSGi and OSGi compendium versions were part of the karaf BoM

2021-05-31 Thread Steinar Bang
> Steinar Bang : >> https://github.com/apache/karaf/blob/main/bom/pom.xml#L525 >> Ok. This works for all of the annotations, and the LogService. No need for me to reference these directly. Ok... there I learnt something new! :-)

Re: Nice if OSGi and OSGi compendium versions were part of the karaf BoM

2021-05-31 Thread Steinar Bang
> Jean-Baptiste Onofre : > 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 > Hm... that one should be correc

Re: Nice if OSGi and OSGi compendium versions were part of the karaf BoM

2021-05-30 Thread Jean-Baptiste Onofre
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#L525

Re: Nice if OSGi and OSGi compendium versions were part of the karaf BoM

2021-05-30 Thread JB Onofré
By the way I will create the corresponding Jira tonight or tomorrow. Regards JB > Le 30 mai 2021 à 17:55, Steinar Bang a écrit : > >  >> >> JB Onofré : > >> Good point and I agree. >> Does it work for you if I add this to karaf 4.3.3 and 4.2.12 ? > > That would be excellent! Thanks!

Re: Nice if OSGi and OSGi compendium versions were part of the karaf BoM

2021-05-30 Thread Steinar Bang
> JB Onofré : > Good point and I agree. > Does it work for you if I add this to karaf 4.3.3 and 4.2.12 ? That would be excellent! Thanks! :-) > Thanks for the proposal. My pleasure! :-)

Re: Nice if OSGi and OSGi compendium versions were part of the karaf BoM

2021-05-30 Thread JB Onofré
Good point and I agree. Does it work for you if I add this to karaf 4.3.3 and 4.2.12 ? Thanks for the proposal. Regards JB > Le 30 mai 2021 à 15:58, Steinar Bang a écrit : > > I need the osgi framework and the OSGi LogService defintion and the SCR > annotations for all project (and now: t

Nice if OSGi and OSGi compendium versions were part of the karaf BoM

2021-05-30 Thread Steinar Bang
I need the osgi framework and the OSGi LogService defintion and the SCR annotations for all project (and now: the OSGi 7 web whiteboard annotations) for all of my karaf web app projects. It would be nice if I could pick the versions for all of those from the karaf BoM (where I eg. get pax-web vers