You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Hans Brende (JIRA)" <ji...@apache.org> on 2018/06/28 20:52:00 UTC

[jira] [Created] (ANY23-354) Clean up dependencies

Hans Brende created ANY23-354:
---------------------------------

             Summary: Clean up dependencies
                 Key: ANY23-354
                 URL: https://issues.apache.org/jira/browse/ANY23-354
             Project: Apache Any23
          Issue Type: Improvement
    Affects Versions: 2.3
            Reporter: Hans Brende
             Fix For: 2.3


There are a number of dependency-related items we should clean up:

1. Since we're no longer using the neko html parser, we should remove that dependency (as well as all the places it's referenced, including the {{any23.tagsoup.legacy}} config setting in the default-configuration.properties file).

2. There are 16 dependencies declared in the {{dependencyManagement}} section of the parent pom that are never used. Which of these should we add to child poms, and which can we simply remove?
    - org.apache.httpcomponents:httpclient-cache
    - org.apache.httpcomponents:fluent-hc
    - org.apache.httpcomponents:httpclient-osgi
    - org.apache.httpcomponents:httpmime
    - org.apache.httpcomponents:httpcore-osgi
    - org.apache.httpcomponents:httpcore-nio
    - commons-cli:commons-cli
    - org.apache.poi:poi-ooxml
    - org.apache.poi:poi-ooxml-schemas
    - org.apache.poi:poi-scratchpad
    - org.eclipse.rdf4j:rdf4j-rio-rdfjson
    - net.sourceforge.owlapi:owlapi-api
    - net.sourceforge.owlapi:owlapi-impl
    - net.sourceforge.owlapi:owlapi-parsers
    - org.slf4j:slf4j-jdk14
    - org.slf4j:jcl-over-slf4j

3. There are 15 dependencies that can be updated:
    - com.beust:jcommander 1.30 -> 1.72
    - commons-codec:commons-codec 1.10 -> 1.11
    - net.sourceforge.owlapi:owlapi-rio 5.1.3 -> 5.1.5
    - org.apache.commons:commons-compress 1.14 -> 1.17
    - org.apache.tika:tika-core 1.17 -> 1.18
    - org.apache.tika:tika-parsers 1.17 -> 1.18
    - org.yaml:snakeyaml 1.17 -> 1.21
    - net.sourceforge.owlapi:owlapi-apibinding 5.1.3 -> 5.1.5
    - (test) org.mockito:mockito-core 2.8.47 -> 2.19.0
    - commons-io:commons-io 2.4 -> 2.6
    - org.eclipse.jetty:jetty-runner 9.4.10.RC0 -> 9.4.11.v20180605
    - (test) org.mortbay.jetty:jetty-servlet-tester 7.0.0.pre5 -> 7.0.0.M2
    - xerces:xercesImpl 2.9.1 -> 2.12.0 (in the html scraper plugin)
    - org.apache.poi:poi 3.16 -> 3.17 (in the office scraper plugin)
    - edu.uci.ics:crawler4j 3.4 -> 4.4.0 (in the basic crawler plugin)
    - org.apache.any23.plugins:apache-any23-html-scraper 1.0.7-SNAPSHOT -> 2.3-SNAPSHOT (in the integration test plugin)
    - org.apache.any23.plugins:apache-any23-office-scraper 1.0.6-SNAPSHOT -> 2.3-SNAPSHOT (in the integration test plugin)
    - org.apache.any23.plugins:apache-any23-basic-crawler 1.0.6-SNAPSHOT -> 2.3-SNAPSHOT (in the integration test plugin)
    
4. For the sake of completeness, there are also 2 dependencies that can be updated that would most likely require additional code refactoring:
    - (test) junit:junit  4.12  ->  org.junit.jupiter:junit-jupiter-api  5.2.0
    - commons-lang:commons-lang  2.6  ->  org.apache.commons:commons-lang3  3.7


Please let me know what you all think about these items of consideration.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)