nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Nagel (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (NUTCH-2291) Fix mrunit dependencies
Date Fri, 01 Jul 2016 13:17:11 GMT

     [ https://issues.apache.org/jira/browse/NUTCH-2291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebastian Nagel resolved NUTCH-2291.
------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Sebastian Nagel
>            Priority: Blocker
>             Fix For: 1.13
>
>         Attachments: NUTCH-2291-1.patch, NUTCH-2291-2.patch, mrunit-deps-cached.png,
mrunit-deps-new.png
>
>
> 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)

Mime
View raw message