文章来源: Import Dependency Management with Exclusion
Exclusion at import won’t work, try excluding it from the actual user of the dependency
意思是:
在dependencyManagement里面的dependency中,使用exclusions,是不会有作用的。需要在实际使用的地方,去添加exclusions。
maven官方有下面一段话:
https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html