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

Fix configuration of mycila license plugin

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Platform 2.2.0, Core 2.2.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      In OpenMRS core, the license plugin was only defined in the top-level pom.  This was causing two issues:

      • Any child projects that had their own plugin configuration were not running the license check (I believe, not 100% sure about this)
      • For child projects that did not have their own plugin configuration, the license check was being run, but the header file was referenced via a relative path and so would fail if attempting to build the project from anywhere but the top-level openmrs-core directory (which happens often when running via the SDK)

      To fix, I:

      • Moved the mycila configuration into dependency management
      • Explicitly configured the plugin to run in each pom and reference the proper path to the license file

        Attachments

          Activity

            People

            • Assignee:
              mogoodrich Mark Goodrich
              Reporter:
              mogoodrich Mark Goodrich
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: