Re: karaf-4.5.x?

2023-07-21 Thread Jean-Baptiste Onofré
As it works fine, I plan to upgrade to Pax Logging 2.2.2 for Karaf 4.4.4.

No need to wait for 4.5.x.

Regards
JB

On Fri, Jul 21, 2023 at 7:59 AM Grzegorz Grzybek  wrote:
>
> Hello
>
> For 2.2.x, Pax Logging 2.2.1 was the version where SLF4J 2.0 packages are
> exported (see: #504
> [1]).
>
> Mind that the API for SLF4J didn't really change and the "big" thing is
> different discovery of logging implementation (that's why outside of OSGi,
> SLF4J 2.0 has to be combined with Logback 1.3+ or dedicated
> log4j-slf4j2-impl). It doesn't really impact Pax Logging users.
>
> regards
> Grzegorz Grzybek
> ===
> [1]: https://github.com/ops4j/org.ops4j.pax.logging/issues/504
>
> pt., 21 lip 2023 o 06:35 Jean-Baptiste Onofré  napisał(a):
>
> > Hi
> >
> > I'm working on Karaf releases and plan to create 4.5.x after 4.4.4,
> > I'm a bit late in the preparation but the releases votes are planned
> > for next week.
> >
> > However, regarding slf4j 2, Pax Logging already exports the packages
> > so I have to check the Pax Logging versions used in Karaf.
> >
> > Regards
> > JB
> >
> > On Thu, Jul 20, 2023 at 7:54 PM Łukasz Dywicki 
> > wrote:
> > >
> > > I am reactivating this thread because I just ran into issue with
> > > dependency which pulls slf4j 2.0.x API.
> > > Given it is already 6 months since last message in this topic, is it
> > > right time to start 4.5.x branch?
> > >
> > > Cheers,
> > > Łukasz
> > >
> > > On 13.01.2023 07:23, Jean-Baptiste Onofré wrote:
> > > > Hi Robert,
> > > >
> > > > It makes sense. I will prepare 4.5.x on Jira and I will create the
> > > > 4.4.x branch and move main on the 4.5.x version.
> > > >
> > > > Let me first complete the 4.3.9 release and other Decanter/Cellar
> > > > releases first.
> > > >
> > > > Thanks !
> > > > Regards
> > > > JB
> > > >
> > > > On Thu, Jan 12, 2023 at 9:45 PM Robert Varga  wrote:
> > > >>
> > > >> On 08/01/2023 08:33, Mark Derricutt wrote:
> > > >>> On 8 Jan 2023, at 20:14, Jean-Baptiste Onofré wrote:
> > > >>>
> > >  Java 11 is not a point as it's already used on Karaf 4.4.x.
> > > >>>
> > > >>> Altho it seems we can run Karaf 4.4.x under JDK 8 - so now I'm
> > curious.
> > > >>> I assume nothings being targeting JDK 9+ byte code then.
> > > >>
> > > >> Right, the karaf-4.4 contract is "YMMV". My proposal here is to switch
> > > >> to "./bin/karaf will refuse to run unless you have a JAVA_HOME that
> > > >> points to Java 11+".
> > > >>
> > > >> Regards,
> > > >> Robert
> >


Re: karaf-4.5.x?

2023-07-21 Thread Grzegorz Grzybek
Hello

For 2.2.x, Pax Logging 2.2.1 was the version where SLF4J 2.0 packages are
exported (see: #504
[1]).

Mind that the API for SLF4J didn't really change and the "big" thing is
different discovery of logging implementation (that's why outside of OSGi,
SLF4J 2.0 has to be combined with Logback 1.3+ or dedicated
log4j-slf4j2-impl). It doesn't really impact Pax Logging users.

regards
Grzegorz Grzybek
===
[1]: https://github.com/ops4j/org.ops4j.pax.logging/issues/504

pt., 21 lip 2023 o 06:35 Jean-Baptiste Onofré  napisał(a):

> Hi
>
> I'm working on Karaf releases and plan to create 4.5.x after 4.4.4,
> I'm a bit late in the preparation but the releases votes are planned
> for next week.
>
> However, regarding slf4j 2, Pax Logging already exports the packages
> so I have to check the Pax Logging versions used in Karaf.
>
> Regards
> JB
>
> On Thu, Jul 20, 2023 at 7:54 PM Łukasz Dywicki 
> wrote:
> >
> > I am reactivating this thread because I just ran into issue with
> > dependency which pulls slf4j 2.0.x API.
> > Given it is already 6 months since last message in this topic, is it
> > right time to start 4.5.x branch?
> >
> > Cheers,
> > Łukasz
> >
> > On 13.01.2023 07:23, Jean-Baptiste Onofré wrote:
> > > Hi Robert,
> > >
> > > It makes sense. I will prepare 4.5.x on Jira and I will create the
> > > 4.4.x branch and move main on the 4.5.x version.
> > >
> > > Let me first complete the 4.3.9 release and other Decanter/Cellar
> > > releases first.
> > >
> > > Thanks !
> > > Regards
> > > JB
> > >
> > > On Thu, Jan 12, 2023 at 9:45 PM Robert Varga  wrote:
> > >>
> > >> On 08/01/2023 08:33, Mark Derricutt wrote:
> > >>> On 8 Jan 2023, at 20:14, Jean-Baptiste Onofré wrote:
> > >>>
> >  Java 11 is not a point as it's already used on Karaf 4.4.x.
> > >>>
> > >>> Altho it seems we can run Karaf 4.4.x under JDK 8 - so now I'm
> curious.
> > >>> I assume nothings being targeting JDK 9+ byte code then.
> > >>
> > >> Right, the karaf-4.4 contract is "YMMV". My proposal here is to switch
> > >> to "./bin/karaf will refuse to run unless you have a JAVA_HOME that
> > >> points to Java 11+".
> > >>
> > >> Regards,
> > >> Robert
>