Sorry, I should have been more clear. You should first:

- search from which CAS dependency this version 30.1.1-jre comes from
and exclude it in the dependencies.gradle file.
- Then, optionally, upgrade guava to the latest.

On Fri, Jul 2, 2021 at 5:38 PM Jérôme LELEU <[email protected]> wrote:
>
> Sorry but I'm not sure to follow you.
>
> Let's take my guava example on master.
>
> In the gradle.properties, I see: guavaVersion=30.0-jre
>
> In the WEB-INF/lib directory of the cas-server-webapp WAR, I see:
> guava-2.9.0.jar
> guava-30.0-jre.jar
> guava-30.1.1-jre.jar
> jackson-datatype-guava-2.12.3.jar
> listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
>
> What should I do? Update the gradle.properties file to version 30.1.1-jre for 
> guava or search from which CAS dependency this version 30.1.1-jre comes from 
> and exclude it in the dependencies.gradle file?
>
> Thanks.
> Best regards,
> Jérôme
>
>
> Le ven. 2 juil. 2021 à 14:52, Misagh <[email protected]> a écrit :
>>
>> Only when you introduce your own dependencies. Otherwise, it needs to
>> be fixed at the source where you have to look for the source of
>> conflict.
>>
>> On Fri, Jul 2, 2021 at 4:51 PM Jérôme LELEU <[email protected]> wrote:
>> >
>> > Hi,
>> >
>> > Thanks for the feedback.
>> > So this is something we must do manually when needed.
>> > Best regards,
>> > Jérôme
>> >
>> >
>> > Le ven. 2 juil. 2021 à 14:33, Misagh <[email protected]> a écrit :
>> >>
>> >> The latter. You'd have to see where the conflict comes from first.
>> >>
>> >> On Fri, Jul 2, 2021 at 4:31 PM Jérôme LELEU <[email protected]> wrote:
>> >> >
>> >> > Hi,
>> >> >
>> >> > OK. I agree.
>> >> > So what's the fix? Changing the BOM generation process or changing the 
>> >> > dependency versions in the gradle.properties?
>> >> > Thanks.
>> >> > Best regards,
>> >> > Jérôme
>> >> >
>> >> >
>> >> > Le ven. 2 juil. 2021 à 11:11, Misagh <[email protected]> a écrit 
>> >> > :
>> >> >>
>> >> >> They should.
>> >> >>
>> >> >> On Fri, Jul 2, 2021 at 1:10 PM Jérôme LELEU <[email protected]> wrote:
>> >> >> >
>> >> >> > Hi,
>> >> >> >
>> >> >> > I notice that the versions in the BOM are sometimes different from 
>> >> >> > the versions in the WAR.
>> >> >> >
>> >> >> > For example, in version 6.4.0-RC5, there is:
>> >> >> > - guava 30.0-jre in the BOM
>> >> >> > - guava 30.1.1-jre in the WAR.
>> >> >> >
>> >> >> > Shouldn't both versions be the same?
>> >> >> >
>> >> >> > Thanks.
>> >> >> > Best regards,
>> >> >> > Jérôme
>> >> >> >
>> >> >> > --
>> >> >> > You received this message because you are subscribed to the Google 
>> >> >> > Groups "CAS Developer" group.
>> >> >> > To unsubscribe from this group and stop receiving emails from it, 
>> >> >> > send an email to [email protected].
>> >> >> > To view this discussion on the web visit 
>> >> >> > https://groups.google.com/a/apereo.org/d/msgid/cas-dev/CAP279Lyit7KSxekntCjbmHv3pTMNyjgawQky6C9z0%3DyC_zzMLg%40mail.gmail.com.
>> >> >>
>> >> >> --
>> >> >> You received this message because you are subscribed to the Google 
>> >> >> Groups "CAS Developer" group.
>> >> >> To unsubscribe from this group and stop receiving emails from it, send 
>> >> >> an email to [email protected].
>> >> >> To view this discussion on the web visit 
>> >> >> https://groups.google.com/a/apereo.org/d/msgid/cas-dev/CAGSBKkd7xjeGs9GeEVB40MFm0JcUWhTcCXbokk6hQJZTZWqurA%40mail.gmail.com.
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google Groups 
>> >> "CAS Developer" group.
>> >> To unsubscribe from this group and stop receiving emails from it, send an 
>> >> email to [email protected].
>> >> To view this discussion on the web visit 
>> >> https://groups.google.com/a/apereo.org/d/msgid/cas-dev/CAGSBKkfhAfiWqj4yWArbDqfXDo4SY8CnD57tG4ki%2BLPN0X0U%3Dg%40mail.gmail.com.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "CAS Developer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-dev/CAGSBKkdfkx0f_vZ8cS3gY9drj1cfGF7%3DW8ki4MRW3h2Fqjrs%3DA%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-dev/CAGSBKkfXjreuUJ94g%2Bd%3DmdyET%2BBfVMKmB3FLn_ZM3aq3knHJCg%40mail.gmail.com.

Reply via email to