Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
2.3
-
None
-
None
Description
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.