You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Michał Goliński <mg...@headwire.com> on 2021/11/18 13:05:00 UTC

Guava version update

Oak uses quite an old version of Guava. I've noticed some methods are used
that were moved around a bit in Guava 21.0, but probably no extensive
changes would be needed. What are the reasons for keeping Guava pegged at
15.0?


Best regards

Michał Goliński

Re: Guava version update

Posted by Torgeir Veimo <to...@gmail.com>.
Michal, if you need an immediate fix you can use a shaded oak
dependency where the guava and luene dependencies are included and
shaded, so not to interfere with other dependencies in your project.
See

https://github.com/tveimo/oak-lucene-shaded

Use as

buildscript {
  repositories {
    maven { url "https://jitpack.io" }
  }
}

implementation 'com.github.tveimo:oak-mega-shaded:1.40.0'

On Fri, 19 Nov 2021 at 19:21, Julian Reschke <ju...@gmx.de> wrote:
>
> Am 19.11.2021 um 10:00 schrieb Konrad Windszus:
> > Hi Michał,
> > look at https://issues.apache.org/jira/browse/OAK-7182? <https://issues.apache.org/jira/browse/OAK-7182?> for details why upgrading is not that simple....
> >
> > Konrad
>
> Right. It is a complex issue, and we may be able to make some progress
> in the next few months.
>
> The main issue here is that we need to first get rid of all
> Guava-related signatures in exported APIs.
>
> Best regards, Julian
>


-- 
-Tor

Re: Guava version update

Posted by Julian Reschke <ju...@gmx.de>.
Am 19.11.2021 um 10:00 schrieb Konrad Windszus:
> Hi Michał,
> look at https://issues.apache.org/jira/browse/OAK-7182? <https://issues.apache.org/jira/browse/OAK-7182?> for details why upgrading is not that simple....
>
> Konrad

Right. It is a complex issue, and we may be able to make some progress
in the next few months.

The main issue here is that we need to first get rid of all
Guava-related signatures in exported APIs.

Best regards, Julian


Re: Guava version update

Posted by Konrad Windszus <kw...@apache.org>.
Hi Michał,
look at https://issues.apache.org/jira/browse/OAK-7182? <https://issues.apache.org/jira/browse/OAK-7182?> for details why upgrading is not that simple....

Konrad

> On 18. Nov 2021, at 14:05, Michał Goliński <mg...@headwire.com> wrote:
> 
> Oak uses quite an old version of Guava. I've noticed some methods are used
> that were moved around a bit in Guava 21.0, but probably no extensive
> changes would be needed. What are the reasons for keeping Guava pegged at
> 15.0?
> 
> 
> Best regards
> 
> Michał Goliński