FasterXML / jackson-annotations

Core annotations (annotations that only depend on jackson-core) for Jackson data processor
https://github.com/FasterXML/jackson
Apache License 2.0
1.03k stars 330 forks source link

Enable depedency caching for travis #185

Closed Taher-Ghaleb closed 3 years ago

Taher-Ghaleb commented 3 years ago

Would be interested to know why maven dependencies haven't been cached on Travis. Thank you.

cowtowncoder commented 3 years ago

I tried to earlier, but experience was generally that:

  1. Could not see any improvement in build time AND
  2. Had odd issues with cache inconsistency to snapshot dependencies causing false build failures

If caching was to be enabled, I don't think this repo would benefit at all, fwtw, as it changes rather infrequently. Other repos might benefit more, but it would be nice to see some actual speed up.

cowtowncoder commented 3 years ago

Aside from general question for other repos, not going to enable caching for annotations as there's very little upside. Open to be convinced for other repos that get PRs and frequent changes (annotations package by design never accepts changes to patch versions, only minor update branches).