Details
-
Technical task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Plan:
1. add shaded Guava project
2. change all internal uses of Guava to use o.a.j.oak.guava.* (or replace by JDK methods)
3. remove all Guava uses in public APIs (separate ticket)
Note: IDEs do not work well with the shade plugin. In Intellij, you'll have to "ignore" the oak-shaded-guava project ("maven" window). In Eclipse, you even need to remove it. The alternative would be to move the whole subproject outside the Oak reactor pom (opinions?).
Note 2: the current proposed patch uses Guava 20, as it is mostly (OAK-10151) compatible with Guava 15 and allows us to migrate away from APIs that were removed in version 21. Once done with that, we'd update to newer Guava versions.
Attachments
Attachments
Issue Links
- is duplicated by
-
OAK-8857 wrap shaded Guava for internal use
- Closed
- relates to
-
OAK-10260 javadoc generation fails for oak-run due to shaded guava
- Open
-
OAK-10307 oak-shaded-guava leaks original guava as transitive dependency
- Closed
-
OAK-10321 Remove residual use of original Guava in oak-store-document
- Closed
- links to