Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2291

Fix mrunit dependencies

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.13
    • Fix Version/s: 1.13
    • Component/s: build
    • Labels:
      None

      Description

      The Jenkins builds fail with a NoClassDefFoundError, see build #3376 log. The missing class org/mockito/stubbing/Answer is part of build/test/lib/mockito-core-1.9.5.jar which was a dependency of mrunit (screenshot mrunit-deps-cached.png). After removing mrunit from my local ivy cache (rm -rf ~/.ivy2/cache/org.apache.mrunit/ mrunit lost mockito as dependency (screenshot mrunit-deps-new.png) and the build failure is reproducible.
      I don't understand what triggered the loss of the transitive dependency: the upgrade to Hadoop 2.7.2 (NUTCH-2236) or the addition of maven:classifier="hadoop2" in commit 7956daee.

        Attachments

        1. NUTCH-2291-2.patch
          0.8 kB
          Sebastian Nagel
        2. NUTCH-2291-1.patch
          0.5 kB
          Sebastian Nagel
        3. mrunit-deps-cached.png
          211 kB
          Sebastian Nagel
        4. mrunit-deps-new.png
          38 kB
          Sebastian Nagel

          Activity

            People

            • Assignee:
              snagel Sebastian Nagel
              Reporter:
              snagel Sebastian Nagel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: