[jira] [Commented] (TIKA-3043) vorbis-java-tika overwrites tika's Parser and Detector in MANIFEST

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (TIKA-3043) vorbis-java-tika overwrites tika's Parser and Detector in MANIFEST

Hudson (Jira)

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

CHARUSHEELA BOPARDIKAR commented on TIKA-3043:
----------------------------------------------

Tried adding this exclusion in gradle with no luck.

exclude 'META-INF/*', 'LICENSE.txt', 'NOTICE.txt'

Can you elaborate how to merge files rather than overwriting? Thank you.

> vorbis-java-tika overwrites tika's Parser and Detector in MANIFEST
> ------------------------------------------------------------------
>
>                 Key: TIKA-3043
>                 URL: https://issues.apache.org/jira/browse/TIKA-3043
>             Project: Tika
>          Issue Type: Bug
>          Components: detector, parser
>    Affects Versions: 1.21
>            Reporter: CHARUSHEELA BOPARDIKAR
>            Priority: Major
>
> We are using tika-parsers version 1.21 as a gradle dependency. When gradle builds the jar the org.apache.tika.parser.Parser and org.apache.tika.detect.Detector are overwritten by vorbis-java-tika:0.8
> Snippet from the gradle dependencies is as follows:
> {code:java}
> \--- org.apache.tika:tika-parsers:1.21
>      +--- org.apache.tika:tika-core:1.21
>      +--- org.glassfish.jaxb:jaxb-runtime:2.3.2
>      |    +--- jakarta.xml.bind:jakarta.xml.bind-api:2.3.2
>      |    |    \--- jakarta.activation:jakarta.activation-api:1.2.1
>      |    +--- org.glassfish.jaxb:txw2:2.3.2
>      |    +--- com.sun.istack:istack-commons-runtime:3.0.8
>      |    |    \--- jakarta.activation:jakarta.activation-api:1.2.1
>      |    +--- org.jvnet.staxex:stax-ex:1.8.1
>      |    |    +--- jakarta.activation:jakarta.activation-api:1.2.1
>      |    |    \--- jakarta.xml.bind:jakarta.xml.bind-api:2.3.2 (*)
>      |    +--- com.sun.xml.fastinfoset:FastInfoset:1.2.16
>      |    \--- jakarta.activation:jakarta.activation-api:1.2.1
>      +--- com.sun.activation:jakarta.activation:1.2.1
>      +--- xerces:xercesImpl:2.12.0
>      |    \--- xml-apis:xml-apis:1.4.01
>      +--- org.apache.commons:commons-lang3:3.9
>      +--- javax.annotation:javax.annotation-api:1.3.2
>      +--- org.gagravarr:vorbis-java-tika:0.8 {code}
> Excluding the vorbis-java-tika module in build.gradle works. But could there be a better solution for this?
>  
> {code:java}
>  {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)