You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Marko Asplund (JIRA)" <ji...@apache.org> on 2015/04/10 12:45:20 UTC
[jira] [Created] (NUTCH-1984) Eliminate unnecessary dependencies
Marko Asplund created NUTCH-1984:
------------------------------------
Summary: Eliminate unnecessary dependencies
Key: NUTCH-1984
URL: https://issues.apache.org/jira/browse/NUTCH-1984
Project: Nutch
Issue Type: Improvement
Affects Versions: 2.3
Reporter: Marko Asplund
When I build (ant runtime) Nutch from 2.x branch some unnecessary dependencies seem to get included in lib (runtime/local/lib).
the scope of dependencies should be minimized and e.g. test-only dependencies should not be included in runtime lib. e.g. the following may not be actually required at runtime:
- junit-4.11.jar
- *jetty*
- hsqldb-2.2.8.jar
- h2-1.4.180.jar
another issue is that multiple versions get included in lib for some libraries. these cases should be reviewed and the redundant versions eliminated. in some cases including a single version may suffice. here's some examples where multiple versions get included:
- stax-api-1.0-2.jar, stax-api-1.0.1.jar
- commons-httpclient-3.0.1.jar, httpclient-4.2.6.jar
- commons-collections-3.2.1.jar, commons-collections4-4.0.jar
- commons-lang-2.6.jar, commons-lang3-3.1.jar
- servlet-api-2.5-20081211.jar, servlet-api-2.5-6.1.14.jar
does Nutch really require oro-2.0.8.jar? it seems to compile without it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)