Centralizing Dependency Versions with Maven's <dependencyManagement> in Parent POMs
Learn how to use Maven's <dependencyManagement> in a parent POM to enforce consistent versions across modules and avoid mismatched dependencies.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to use Maven's <dependencyManagement> in a parent POM to enforce consistent versions across modules and avoid mismatched dependencies.
pnpm's isolated, symlink-based node_modules prevents phantom dependencies by making undeclared transitive packages fail at install time. Learn the layout, trade-offs, and how to verify it.
Maven BOMs centralize dependency versions across multi-module projects without pulling transitive JARs. This post covers import mechanics, reactor propagation, override patterns, and the limits you'll hit at scale — plus a minimal worked example you can run today.
Learn how GoLand's native Go modules support eliminates manual GOPATH setup and streamlines dependency management for Go projects.
Composer's config.platform setting pins PHP and extension versions in composer.json so dependency resolution stays consistent across development, CI, and production.
Learn how Poetry’s dependency groups and lock file mechanism give you isolated, reproducible Python environments. A step‑by‑step example shows adding groups, locking, and exporting to requirements.txt.
Without explicit version management, dotnet restore pulls the latest compatible version, and your build becomes a moving target. Here's how to lock down NuGet versions for reproducible builds.
pnpm's built-in patch command lets you modify dependency source without forking. This post walks through the workflow, monorepo sharing via catalogs, CI reproducibility, and the practical limits you'll hit with version upgrades and TypeScript declarations.
Use spack env create, concretize, and a committed spack.lock to install the same dependency graph on every machine.