[ 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.