nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marko Asplund (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NUTCH-1984) Eliminate unnecessary dependencies
Date Fri, 10 Apr 2015 10:47:12 GMT

     [ https://issues.apache.org/jira/browse/NUTCH-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marko Asplund updated NUTCH-1984:
---------------------------------
    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.

  was:
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.


> 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)

Mime
View raw message