[
https://issues.apache.org/jira/browse/TIKA-3591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17445472#comment-17445472
]
Tim Allison edited comment on TIKA-3591 at 11/17/21, 8:15 PM:
--------------------------------------------------------------
Thank you so much [~bob]! I removed the import from tika-bundle-standard.
Should I leave in my hack in tika-core or revert that to what it was?
bq. So I don't think it's wrong that tika-core imports 1.4 in this case since
that's what commons-io is telling it to do
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?
bq. Having the jar embedded AND importing those packages can lead to
unpredictable results based on the runtime.
Whoa... thank you. We should probably open a ticket to prune the imports list...
was (Author: [email protected]):
Thank you so much [~bob]! I removed the import from tika-bundle-standard.
Should I leave in my hack in tika-core or revert that to what it was?
bq. So I don't think it's wrong that tika-core imports 1.4 in this case since
that's what commons-io is telling it to do
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?
> 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)