[
https://issues.apache.org/jira/browse/TIKA-3591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17445474#comment-17445474
]
Bob Paulin edited comment on TIKA-3591 at 11/17/21, 8:29 PM:
-------------------------------------------------------------
{quote}I agree that's what commons-io is telling tika-core to do, but tika-core
won't compile with 1.4... for kicks, I switched the commons-io dependency to
1.4 and it was a disaster. If we revert the bundle import in tika-core to let
nature take its course, will it all just work?@Mention someone by typing their
name...
{quote}
The 1.4 is set at the package level so it's NOT trying to say that tika can be
compiled with 1.4 JAR (as there are other packages). So given commons-io jar
is only exporting the org.apache.commons.io package at version 1.4.999 if you
exclude packages that are < 2.0 you may not get tika-core to resolve properly
by itself in an osgi runtime.
was (Author: bob):
{quote}I agree that's what commons-io is telling tika-core to do, but tika-core
won't compile with 1.4... for kicks, I switched the commons-io dependency to
1.4 and it was a disaster. If we revert the bundle import in tika-core to let
nature take its course, will it all just work?@Mention someone by typing their
name...
{quote}
The 1.4 is set at the package level so it's trying to say that tika can be
compiled with 1.4 JAR (as there are other packages). So given commons-io jar
is only exporting the org.apache.commons.io package at version 1.4.999 if you
exclude packages that are < 2.0 you may not get tika-core to resolve properly
by itself in an osgi runtime.
> The Import-Package of commons.io is wrong in MANIFEST.MF
> --------------------------------------------------------
>
> Key: TIKA-3591
> URL: https://issues.apache.org/jira/browse/TIKA-3591
> Project: Tika
> Issue Type: Bug
> Affects Versions: 2.1.0
> Reporter: Per Kristian Söreide
> Priority: Major
>
> The tika-bundle-standard bundle get version 1.4 of commons.io which leads to
> NoSuchMethodException in some Parsers/Detectors since they require later
> versions of commons.io.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)