dependencyManagement
DependencyManagement is a feature of Maven's POM that centralizes the specification of dependency versions and related attributes for a project or a group of modules. It does not, by itself, add dependencies to the project; instead it provides a catalogue of versions that can be used by dependent artifacts. The main purpose is to enforce consistent versions across modules and to simplify upgrades by changing the version in one place.
In a POM hierarchy, a parent POM can declare a dependencyManagement section. Child modules inherit these entries.
DependencyManagement also supports scope and can be used in conjunction with a BOM import via import scope
In multi-module builds, dependencyManagement helps maintain consistency and reduces the risk of transitive dependency conflicts. It
Limitations: It does not guarantee that a dependency will be used; it only provides version defaults and