In the meantime I applied those PRs.
It is possible to nicely run Tika 4.x and 1.x side-by-side, either by
using the framework support to run different versions of the same bundle
or by renaming the symbolic name of one of them (or feature model
supports this).
There are bundles out there, importing Tika without a version range.
Those imports are usually for 1.x. A resolver hook can prevent those
accidentally importing from 4.x.
Regards
Carsten
On 11/5/2026 4:33 PM, Carsten Ziegeler via dev wrote:
I created
https://github.com/apache/sling-org-apache-sling-commons-mime/pull/12
and
https://github.com/apache/sling-org-apache-sling-commons-
contentdetection/pull/8
Regards
Carsten
On 11/5/2026 2:30 PM, Konrad Windszus wrote:
I fully agree with that. Upgrading to 3.x (which is almost EOL as
well) would be waste of time.
Am 05.11.2026 um 14:23 schrieb Carsten Ziegeler via dev
<[email protected]>:
Thanks, Oak has to follow eventually as well, Tika 1.x is EOL - and
I think it makes more sense to move to the latest 4.x version
Regards
Carsten
On 11/4/2026 5:34 PM, Konrad Windszus wrote:
Sorry my comment refers to the Oak side of things: https://
issues.apache.org/jira/browse/OAK-9752.
Not sure how much value it is to upgrade Sling to 4.x as long as Oak
still depends on 1.x.
Konrad
On 4. Nov 2026, at 17:29, Konrad Windszus via dev
<[email protected]> wrote:
Hi,
Tika 4.x got rid of XML configuration being leveraged in Oak, so
this will be hard to upgrade in a backwards compatible way:
https://tika.apache.org/docs/4.0.x/migration-to-4x/migrating-
to-4x.html#_configuration_xml_to_json
All API related to XML config has been removed only a standalone
tool for conversion is available: https://tika.apache.org/
docs/4.0.x/migration-to-4x/migrating-to-4x.html#_automatic_conversion.
This conversion exceed the time I can spend working on this, so any
volunteer here would be greatly appreciated.
I haven’t checked though if it works fine again in OSGi.
Regards,
Konrad
On 4. Nov 2026, at 17:02, Carsten Ziegeler via dev
<[email protected]> wrote:
With Tika 4.x being out, I guess we could try that now?
Regards
Carsten
On 6/19/2026 12:39 PM, Konrad Windszus wrote:
Hi,
I don’t think Oak is blocked by SLF4J v2.
Look at the comments and the branch related to https://
issues.apache.org/jira/browse/OAK-9752.
Main issue is that Tika v3 currently does not work in OSGi
(https://issues.apache.org/jira/browse/TIKA-4698).
One fix was merged for the upcoming v3.3.2.
Another approach was taken for Tika v4 (only available as alpha
version).
Konrad
On 19. Jun 2026, at 09:42, Julian Reschke <[email protected]>
wrote:
Am 19.06.2026 um 09:07 schrieb Carsten Ziegeler:
I think you missed my point. We fix it the right way for
Sling . If Oak moves as well, great, done. If Oak does not
move, well then it needs that wrapper bundle to run new and old
Tika version side by side.
Regards
Carsten
AFAIR, Oak is actually blocked by not being able do update
SLF4J, no?
(https://issues.apache.org/jira/browse/OAK-10339)
Best regards, Julian
--
Carsten Ziegeler
Adobe
[email protected]
--
Carsten Ziegeler
Adobe
[email protected]
--
Carsten Ziegeler
Adobe
[email protected]