Uploaded image for project: 'OpenMRS SDK'
  1. OpenMRS SDK
  2. SDK-185

Ability to define parent distro in openmrs-distro.properties

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • TBD
    • Resolution: Fixed
    • None
    • 3.7.0
    • None
    • None
    • Undetermined
    • 2016-12-27 SDK 3.7

    Description

      It should be possible to define a "parent" distro in openmrs-distro.properties. It should result in SDK fetching artifacts and versions declared in the parent distro. Only one parent can be specified. If the parent distro declares a parent, it should be resolved recursively.

      If an artifact is defined in both the parent and the current distro, then a version from the current distro should be used.

      The setting should support the same format as omods i.e.

      distro.artifactId=version
      distro.artifactId.type=packaging
      distro.artifactId.groupId=groupId

      and shortcuts:

      distro.artifactId=version (default groupId: org.openmrs.distro, default packaging: jar)

      in particular:

      distro.referenceapplication=2.5 should be resolved to org.openmrs.distro:referenceapplication-package:jar=2.5

      Source https://talk.openmrs.org/t/openmrs-sdk-3-5-0-released/8888/11

      Gliffy Diagrams

        Attachments

          Activity

            People

              tmarzeion Tomasz Marzeion
              ssmusoke Stephen Senkomago Musoke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 6 hours, 30 minutes
                  2d 6h 30m