Skip to content

Consuming Dependencies in Local Builds

Scott Kurz edited this page Oct 17, 2023 · 1 revision

LSP4Jakarta

Working with local build can be tricky because Tycho wants to consume the latest version of plugin/bundle dependencies (roughly speaking). This is unlike the general Maven approach for pinning specific release versions when declaring a dependency.

E.g. if you go build v2-snapshot of LSP4Jakarta and consume in an LTE branch you might be unable to switch branches back to LTE main and consume v1 of LSP4Jakarta.

To fix this you need to delete some stuff from .m2. This at least would work, you might be able to remove less:

rm -rf ~/.m2/repository/.cache/tycho/ ~/.m2/repository/org/eclipse/lsp4jakarta/