[MAGNOLIA-4847] Upgrade to newer version of guava Created: 15/Feb/13  Updated: 28/Mar/14  Resolved: 11/Mar/14

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: 5.3

Type: Bug Priority: Major
Reporter: Daniel Lipp Assignee: Daniel Lipp
Resolution: Fixed Votes: 1
Labels: framework
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing MGNLIMG-121 Upgrade to Guava 16 Closed
dependency
is depended upon by MAGNOLIA-5686 Node2Bean converter for com.google.co... Closed
relation
is related to MGNLNTLM-5 Migration of NTLM module to 4.5.x and... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Release notes required:
Yes
Date of First Response:
Epic Link: DAM / CMIS
Sprint: 5.3 Sprint 3, 5.3 Sprint 4

 Description   

We're currently using guava v10. v13.0.1 was released on August 28, 2012 - now there's even v16.0.1.

This has to be done because of conflict with waffle which is used by ntlm module and itself depends on version 13.0.1.

Imaging module also use guava and it's not compatible with version 13.0.1. It'll be necessary to change info.magnolia.imaging.caching.CachingImageStreamer class to not use com.google.common.collect.MapMaker but com.google.common.cache.CacheBuilder. That's because caching functionality in MapMaker was move to CacheBuilder. Migration guide: http://code.google.com/p/guava-libraries/wiki/MapMakerMigration



 Comments   
Comment by Daniel Lipp [ 01/Nov/13 ]

In the meantime - September 6th, 2013 - v15.0 has been released:: http://code.google.com/p/guava-libraries/wiki/Release15
Consider upgrading to that version directly...

Comment by Magnolia International [ 03/Feb/14 ]

and v16 since
Have a look at all versions - https://code.google.com/p/guava-libraries/wiki/ReleaseHistory

Comment by Daniel Lipp [ 11/Mar/14 ]

Hint: guava 16 does no longer implicitly provide javax.annotation.Nullable - that's why jar305 artifact from "com.google.code.findbugs" has to be explicitly added now.

Generated at Mon Feb 12 03:59:36 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.