-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TIKA-4038: Remove shading of tika-parsers-standard-package
#1130
Conversation
gastaldi
commented
May 11, 2023
- Fixes TIKA-4038
- Discussed in Create dependency reduced pom.xml for tika-parsers-standard-package #936 (comment)
Works on an external dummy project that uses tika-parsers-standard-package as a dependency. Thank you! |
Hi @tballison & @gastaldi, I was trying to upgrade Here are more details: opensearch-project/OpenSearch#12627 When I was bumping up tika dependencies to 2.8.0 or 2.9.0 or 2.9.1, I was not able to utilize the various parsers which were part of After the changes in package structure in |
What error are you getting? If |
@gastaldi Thanks for the quick revert. These are the present tika libraries that I'm consuming:
Gradle configuration for reference: https://github.com/opensearch-project/OpenSearch/blob/main/plugins/ingest-attachment/build.gradle Relevant Tika Implementation in usage: https://github.com/opensearch-project/OpenSearch/blob/main/plugins/ingest-attachment/src/main/java/org/opensearch/ingest/attachment/TikaImpl.java With tika version:2.6.0, and commons-compress 1.24.0: With tika version:2.6.0, and commons-compress 1.26.0:
With tika version:2.8.0, and commons-compress 1.26.0: The following dependencies fail to resolve:
|
No idea what can be causing that, perhaps @tballison might know |
Sorry, I haven't looked carefully at your gradle file...is it pulling in transitive dependencies, like |
I think the iworks and compress thing is fixed in 1.26.1. @THausherr does that sound right? The iworks issue rings a bell... |
Yes; although I see that your last improvement wasn't added to 2.9.2, I'll do it. (update: done) @gastaldi you can test with a snapshot. The last file already has a working fix; the latest improvement will be there in maybe two hours, just look for a file that has todays date. |
Doh! Thank you, @THausherr . I'm happy to cherry-pick that bit as well. |
Thanks @tballison @THausherr - I'm able to upgrade tika now. |
Some time next week, see the message in the mailing lists: "I'd like to fix TIKA-4211 before the next release. It has been a while since our last 2.x release. What do you think about aiming for starting the voting process early next week? Any other blockers?" |
Also observe the mass regression tests in https://issues.apache.org/jira/browse/TIKA-4171 . We hit several problems yesterday and these must be solved first. |