Andreas Hubold created TIKA-967:
-----------------------------------

             Summary: 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.2, 1.1
            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

        

Reply via email to