Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5981

Manage spring dependencies via spring BOM

    XMLWordPrintable

    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)

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              teleivo Ivo Ulrich
              Reporter:
              teleivo Ivo Ulrich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: