You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2018/03/06 18:50:00 UTC

[jira] [Comment Edited] (TIKA-2598) Fix dependency convergence

    [ https://issues.apache.org/jira/browse/TIKA-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16388295#comment-16388295 ] 

Tim Allison edited comment on TIKA-2598 at 3/6/18 6:49 PM:
-----------------------------------------------------------

Aside from adding the plugin so that we are alerted to convergence problems, is this the recommended fix?

{noformat}
    <dependency>
      <groupId>com.healthmarketscience.jackcess</groupId>
      <artifactId>jackcess-encrypt</artifactId>
      <version>2.1.4</version>
      <exclusions>
        <exclusion>
          <groupId>com.healthmarketscience.jackcess</groupId>
          <artifactId>jackcess</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
{noformat}


was (Author: tallison@mitre.org):
Aside from adding the plugin so that we avoid convergence problems, what is the recommended fix for this?

{noformat}
    <dependency>
      <groupId>com.healthmarketscience.jackcess</groupId>
      <artifactId>jackcess-encrypt</artifactId>
      <version>2.1.4</version>
      <exclusions>
        <exclusion>
          <groupId>com.healthmarketscience.jackcess</groupId>
          <artifactId>jackcess</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
{noformat}

> Fix dependency convergence
> --------------------------
>
>                 Key: TIKA-2598
>                 URL: https://issues.apache.org/jira/browse/TIKA-2598
>             Project: Tika
>          Issue Type: Improvement
>          Components: packaging
>    Affects Versions: 1.17
>            Reporter: Guillaume Smet
>            Assignee: Tim Allison
>            Priority: Blocker
>
> Hi,
> We tried to upgrade Tika to 1.17 in Hibernate Search and we had some dependency convergence issues:
> {code}
> Dependency convergence error for com.healthmarketscience.jackcess:jackcess:2.1.8 paths to dependency are:
> +-org.hibernate:hibernate-search-engine:5.10.0-SNAPSHOT
>     +-org.apache.tika:tika-parsers:1.17
>          +-com.healthmarketscience.jackcess:jackcess:2.1.8
> and
> +-org.hibernate:hibernate-search-engine:5.10.0-SNAPSHOT
>      +-org.apache.tika:tika-parsers:1.17
>          +-com.healthmarketscience.jackcess:jackcess-encrypt:2.1.2
>              +-com.healthmarketscience.jackcess:jackcess:2.1.0
> {code}
> We could fix them downstream in Hibernate Search but I thought it would be better if Tika could ensure the convergence of its dependencies using the Maven enforcer plugin so that all the downstream projects can benefit from it.
> Thanks.



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