[infinispan-dev] SLF4J shaded into infinispan-query-embedded ?

Sebastian Laskawiec slaskawi at redhat.com
Mon Apr 24 07:14:11 EDT 2017


The reason the SLF4J api was shaded was that some of our dependencies used
it directly. Therefore client apps could experience ClassNotFoundExceptions.

As the time passed we migrated many of them to JBoss Logging so that the
problem naturally went away and Ryan removed it completely.

On Mon, Apr 24, 2017 at 12:57 PM Sanne Grinovero <sanne at infinispan.org>
wrote:

> Just to add, I see now that JBoss Logging is included as well.
>
>
> On 24 April 2017 at 11:43, Sanne Grinovero <sanne at infinispan.org> wrote:
> > Thanks Ryan. Beyond removing the relocation, I also doubt if it should
> > be included at all? I'm sincerely puzzled so I think we really need to
> > hear from the others if this was intentional, or what the plan is.
> >
> > On 24 April 2017 at 11:40, Ryan Emerson <remerson at redhat.com> wrote:
> >> Previously slf4j was included as a dependency in infinispan-parent, so
> I assume this relocation was related to that. However, [1] removed slf4j
> from the parent so we should be to remove this relocation as well. Unless
> anybody else can provide more insight, I will issue a PR removing the
> relocation.
> >>
> >> [1] https://github.com/infinispan/infinispan/pull/5058/files
> >>
> >> Cheers
> >> Ryan
> >>
> >> ----- Original Message -----
> >>> When inspecting the stuff included in the "shaded" jar
> >>> infinispan-query-embedded, I even found a copy of SLF4J in there.
> >>>
> >>> It's being relocated to the package "/infinispan/org/slf4j/"
> >>>
> >>> Is that intentional? Does it even work in this way? I doubt it would
> >>> be able to bind to the right appenders, or be configured as intended.
> >>>
> >>> Thanks,
> >>> Sanne
> >>> _______________________________________________
> >>> infinispan-dev mailing list
> >>> infinispan-dev at lists.jboss.org
> >>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> >>>
> >> _______________________________________________
> >> infinispan-dev mailing list
> >> infinispan-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
-- 

SEBASTIAN ŁASKAWIEC

INFINISPAN DEVELOPER

Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20170424/dab8c3bd/attachment.html 


More information about the infinispan-dev mailing list