You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Andreas Hubold (JIRA)" <ji...@apache.org> on 2012/08/02 09:26:02 UTC
[jira] [Created] (TIKA-967) Tika comes with transitive Maven
dependency to a test artifact of vorbis-java-core
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
[jira] [Commented] (TIKA-967) Tika comes with transitive Maven
dependency to a test artifact of vorbis-java-core
Posted by "Nick Burch (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (TIKA-967) Tika comes with transitive Maven
dependency to a test artifact of vorbis-java-core
Posted by "Andreas Hubold (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427271#comment-13427271 ]
Andreas Hubold commented on TIKA-967:
-------------------------------------
I've created a pull request here: https://github.com/Gagravarr/VorbisJava/pull/1
> 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