You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2016/06/30 10:06:10 UTC
[jira] [Created] (NUTCH-2291) Fix mrunit dependencies
Sebastian Nagel created NUTCH-2291:
--------------------------------------
Summary: Fix mrunit dependencies
Key: NUTCH-2291
URL: https://issues.apache.org/jira/browse/NUTCH-2291
Project: Nutch
Issue Type: Bug
Components: build
Affects Versions: 1.13
Reporter: Sebastian Nagel
Priority: Blocker
Fix For: 1.13
The Jenkins builds fail with a NoClassDefFoundError, see [build #3376 log|https://builds.apache.org/job/Nutch-trunk/3376/testReport/org.apache.nutch.crawl/TestCrawlDbStates/testCrawlDbStatTransitionInject/]. 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|https://git-wip-us.apache.org/repos/asf?p=nutch.git;a=commitdiff;h=7956daee8ac91180070f92949ecf99deae9b5ef0#patch2].
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)