Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1631

Tools module should have a direct dependency on mockito

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 4.1.0
    • Component/s: tests
    • Labels:
      None

      Description

      Mockito is used by some of the tests in the tools module; however, it is only included because its a test dependency of hive-serde, which is included with the hcatalog libs. We should make it a direct dependency in case hcat removes mockito because Oozie won't compile anymore.

      dependency tree for reference:

      [INFO] org.apache.oozie:oozie-tools:jar:4.1.0-SNAPSHOT
      [INFO] +- org.apache.derby:derby:jar:10.6.1.0:compile
      [INFO] +- org.apache.oozie:oozie-hcatalog:jar:0.5.0.oozie-4.1.0-SNAPSHOT:test (scope not updated to compile)
      ...
      [INFO] |  +- org.apache.hive:hive-serde:jar:0.10.0:test
      [INFO] |  |  +- org.mockito:mockito-all:jar:1.8.5:test (version managed from 1.8.2)
      ...
      

        Attachments

        1. OOZIE-1631.patch
          0.5 kB
          Robert Kanter

          Activity

            People

            • Assignee:
              rkanter Robert Kanter
              Reporter:
              rkanter Robert Kanter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: