tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Burch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-967) Tika comes with transitive Maven dependency to a test artifact of vorbis-java-core
Date Thu, 02 Aug 2012 08:40:03 GMT

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

Nick Burch commented on TIKA-967:

If you can work out what should be in the upstream pom to avoid the issue, please send in
a patch / github pull request (project is https://github.com/Gagravarr/VorbisJava). I can
then roll a new release, and bump the dependency in Tika to one with the fix.
> Tika comes with transitive Maven dependency to a test artifact of vorbis-java-core 
> -----------------------------------------------------------------------------------
>                 Key: TIKA-967
>                 URL: https://issues.apache.org/jira/browse/TIKA-967
>             Project: Tika
>          Issue Type: Bug
>          Components: packaging
>    Affects Versions: 1.1, 1.2
>            Reporter: Andreas Hubold
>            Priority: Minor
> Tika 1.2 has the following dependencies:
> {noformat}
> \- org.apache.tika:tika-parsers:jar:1.2:compile
> [INFO]    +- org.apache.tika:tika-core:jar:1.2:compile
> [INFO]    +- org.gagravarr:vorbis-java-tika:jar:0.1:compile
> [INFO]    |  \- org.gagravarr:vorbis-java-core:jar:tests:0.1:runtime
> ..
> [INFO]    +- org.gagravarr:vorbis-java-core:jar:0.1:compile
> {noformat}
> The transitive dependency to {{org.gagravarr:vorbis-java-core:jar:tests}} is wrong. It
only contains test resources for vorbis (note that Maven classifier 'tests').
> It seems this is caused by a bug in the pom.xml of org.gagravarr:vorbis-java-tika. It
contains a dependency to vorbis-java-core with classifier {{tests}} and scope {{test,provided}}.
This is not a valid scope (you can't enumerate multiple scopes here for a Maven dependency).
> Tika could work around this by excluding the transitive dependency in the dependency
declaration of {{vorbis-java-tika}}.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message