-
Notifications
You must be signed in to change notification settings - Fork 43
General Use Pattern
Roberto Perez Alcolea edited this page Mar 13, 2024
·
3 revisions
- Daily locking of dynamic dependencies
- Run a daily job to lock your dependencies. Every day before you show up to work you can have an automated system to pull in the latest dependencies and run your tests. If they pass, your team has a stable dependency graph for the day. If they fail you can have a subset of the team deal with the dependency issues while the rest keep with what they're were doing using yesterday's dependency lock.
- Occasionally (and optionally) run
updateLock
to try out a single new dependency.
- Lock on release
- When you're ready to cut that shiny new version of your software create a lock of your dependencies. You'll be able to recreate the exact state of your dependency graph if you ever need to reproduce a build.
- Deal with IDE issues
- Create a lock with
generateLock
saveLock
. - Watch as you no longer have to deal with one subproject depend on an old version and mess up another's dependency graph
- Stop WAR deployments from copying 2 different versions of a dependency into the directory.
- Create a lock with