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

Adapt to new hamcrest packaging

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: Core 2.5.0
    • Fix Version/s: Core 2.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Hamcrest has changed its packaging in 2.x to a single jar. We currently depend on both the hamcrest-core and hamcrest-library instead of the new single jar shipped with hamcrest. Since modules still write JUnit 4 tests we should make sure to adhere to the advice at

      http://hamcrest.org/JavaHamcrest/distributables#upgrading-from-hamcrest-1x

      The docs are not totally correct as explained here https://github.com/hamcrest/JavaHamcrest/issues/224#issuecomment-449760045 since https://junit.org/junit4/dependencies.html JUnit 4 actually has a transitive dependency on hamcrest-core not hamcrest-library.

        Gliffy Diagrams

          Attachments

            Issue Links

              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: