介绍
Dependency management:this allows project authors to directly specify the versions of artifacts to be used when they are encountered in transitive dependencies or in dependencies where no version has been specified.
从官网的描述中可以看出DependencyManagement有两个作用:
1)对子pom的间接依赖的版本进行版本约束;
2)对子pom中不声明版本的依赖进行版本约束;
网友评论