[ 
https://issues.apache.org/jira/browse/NUTCH-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495867
 ] 

Andrzej Bialecki  commented on NUTCH-486:
-----------------------------------------

-1

This is a side-effect of using LinkDbReader to read the LinkDb. I don't think 
we can remove this dependency, because then LinkDbInlinks would have to 
duplicate most of the code from LinkDbReader.

build.xml already adds commons-cli to the WAR file, so a fresh WAR deployment 
will have this dependency installed.

> Break searcher dependency on commons-cli
> ----------------------------------------
>
>                 Key: NUTCH-486
>                 URL: https://issues.apache.org/jira/browse/NUTCH-486
>             Project: Nutch
>          Issue Type: Improvement
>          Components: searcher
>    Affects Versions: 0.9.0
>            Reporter: Mark Woon
>
> 0.9 introduced what seems like an unnecessary dependency on commons-cli:
> java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
>         at 
> org.apache.nutch.searcher.LinkDbInlinks.<init>(LinkDbInlinks.java:42)
>         at org.apache.nutch.searcher.NutchBean.init(NutchBean.java:156)
>         at org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:106)
>         at org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:84)
>         at org.apache.nutch.searcher.NutchBean.get(NutchBean.java:71)
> Can we please break this dependency?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nutch-developers mailing list
Nutch-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to