Details
-
Type:
Task
-
Status: Closed
-
Priority:
Should
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Core 2.5.0
-
Component/s: None
-
Labels:None
Description
Spring provides a bill of materials (BOM) for some of its projects like the springframework. This makes sure that the versions of the libraries published by that project are kept in sync. We currently do that by including all the springframework libraries used in openmrs-core in the root pom.xml dependencyManagement tag using the springVersion property. Instead we can simply import the BOM in the dependencyManagement tag. Exclusions can not be declared in the import. So to exclude commons-logging from spring-core and spring-test we would still need to keep a dependency tag for them.
http://www.codesimplify.com/spring-core/bill-of-materials-bom-spring-framework/
https://mvnrepository.com/artifact/org.springframework/spring-framework-bom/5.3.2
(see Managed Dependencies)