tonsky.me
Read post

We shouldn’t have needed lockfiles

Lockfiles are unnecessary complications in dependency management. The author argues that proper dependency management should use exact version specifications rather than version ranges, making builds deterministic without requiring lockfiles. Maven's 20-year success without lockfiles demonstrates this approach works at scale. Version ranges create non-reproducible builds by allowing dependencies to change based on build time rather than publication time, defeating the purpose of having lockfiles in the first place.

    #build-systems#maven
Aug 06, 2025•4m read time•From tonsky.me
Post cover image
90 Impressions
tonsky.me's image
tonsky.me

Tonsky Blog offers insights, essays, and discussions on programming languages, software design, and ...

11 Followers

•

275 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard