You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Ewan Mellor (JIRA)" <ji...@apache.org> on 2018/05/24 20:20:00 UTC

[jira] [Created] (TIKA-2651) tika-translate jar contains duplicate classes from tika-core jar

Ewan Mellor created TIKA-2651:
---------------------------------

             Summary: tika-translate jar contains duplicate classes from tika-core jar
                 Key: TIKA-2651
                 URL: https://issues.apache.org/jira/browse/TIKA-2651
             Project: Tika
          Issue Type: Improvement
          Components: translation
    Affects Versions: 2.0.0
            Reporter: Ewan Mellor


The tika-translate jar contains classes that are also in tika-core.  This is a needless duplication and causes warnings when using the jars in downstream projects.

This happens because tika-core has some base classes in {{tika-core/src/main/java/org/apache/tika/language/translate/}}, so the {{org.apache.tika.language.translate}} package is split between tika-core and tika-translate.  It's those classes in tika-core that then get duplicated into tika-translate's jar.

I did look at marking them as excluded in the build, but I am clearly too dumb to ever understand maven-bundle-plugin.



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