Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-497

Fix dependency convergence

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      On TIKA-2598, Guillaume Smet recommended that we add maven's enforcerplugin with:

      <rules>
        <dependencyConvergence/>
      </rules>
      

      This revealed a few areas where CTAKES might benefit from the same plugin:

      [WARNING] 
      Dependency convergence error for com.google.guava:guava:17.0 paths to dependency are:
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-org.apache.ctakes:ctakes-core:4.0.0
          +-org.cleartk:cleartk-util:2.0.0
            +-com.google.guava:guava:17.0
      and
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-org.apache.ctakes:ctakes-core:4.0.0
          +-com.google.guava:guava:10.0
      
      [WARNING] 
      Dependency convergence error for org.apache.uima:uimaj-core:2.9.0 paths to dependency are:
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-org.apache.ctakes:ctakes-core:4.0.0
          +-org.apache.ctakes:ctakes-type-system:4.0.0
            +-org.apache.uima:uimaj-core:2.9.0
      and
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-org.apache.ctakes:ctakes-core:4.0.0
          +-org.apache.ctakes:ctakes-utils:4.0.0
            +-org.apache.uima:uimaj-core:2.9.0
      and
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-org.apache.ctakes:ctakes-core:4.0.0
          +-org.cleartk:cleartk-util:2.0.0
            +-org.apache.uima:uimaj-core:2.5.0
      
      [WARNING] 
      Dependency convergence error for org.apache.uima:uimafit-core:2.2.0 paths to dependency are:
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-org.apache.ctakes:ctakes-core:4.0.0
          +-org.apache.ctakes:ctakes-type-system:4.0.0
            +-org.apache.uima:uimafit-core:2.2.0
      and
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-org.apache.ctakes:ctakes-core:4.0.0
          +-org.cleartk:cleartk-util:2.0.0
            +-org.apache.uima:uimafit-core:2.0.0
      and
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-org.apache.ctakes:ctakes-core:4.0.0
          +-org.apache.uima:uimafit-core:2.2.0
      
      [WARNING] 
      Dependency convergence error for commons-io:commons-io:2.5 paths to dependency are:
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-commons-io:commons-io:2.5
      and
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-org.apache.ctakes:ctakes-core:4.0.0
          +-commons-io:commons-io:2.2
      and
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-org.apache.ctakes:ctakes-core:4.0.0
          +-org.cleartk:cleartk-util:2.0.0
            +-commons-io:commons-io:2.4
      

      CTAKES also might consider bumping the version of opennlp to 1.8.4

      Dependency convergence error for org.apache.opennlp:opennlp-tools:1.8.4 paths to dependency are:
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-org.apache.opennlp:opennlp-tools:1.8.4
      and
      +-org.apache.tika:tika-parsers:2.0.0-SNAPSHOT
        +-org.apache.ctakes:ctakes-core:4.0.0
          +-org.apache.opennlp:opennlp-tools:1.7.2
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tallison Tim Allison
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: