lemminx icon indicating copy to clipboard operation
lemminx copied to clipboard

Embed the google cache dependency in the bundle

Open laeubi opened this issue 11 months ago • 4 comments

Guava is known as a bit "problematic" dependency, as lemminx only uses guava-cache, this can be embedded in the bundle and be made embedded package.

This changes the used felix-bundle to bnd-maven-plugin with the conditionalpackage to include the caching api in the generated bundle.

FYI @mickaelistria I just choose this a startingpoint because with

  • https://github.com/eclipse-lemminx/lemminx/pull/1702

this type does not appear in any public (exported) API anymore, if it could be agreed that this is a way to go I'll try to identify other possible types to embed as well.

laeubi avatar Nov 10 '24 14:11 laeubi