nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marko Asplund (JIRA)" <>
Subject [jira] [Created] (NUTCH-1984) Eliminate unnecessary dependencies
Date Fri, 10 Apr 2015 10:45:20 GMT
Marko Asplund created NUTCH-1984:

             Summary: Eliminate unnecessary dependencies
                 Key: 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

View raw message