You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Andres Almiray (Jira)" <ji...@apache.org> on 2024/05/28 11:13:00 UTC
[jira] [Created] (TIKA-4263) Provide full Java module descriptors
Andres Almiray created TIKA-4263:
------------------------------------
Summary: Provide full Java module descriptors
Key: TIKA-4263
URL: https://issues.apache.org/jira/browse/TIKA-4263
Project: Tika
Issue Type: Bug
Components: core
Affects Versions: 3.0.0-BETA
Reporter: Andres Almiray
v3.0.0-BETA defines an automatic module name
$ jarviz module name --gav org.apache.tika:tika-core:3.0.0-BETA
subject: tika-core-3.0.0-BETA.jar
name: org.apache.tika.core
source: manifest
automatic: true
valid: true
$ jarviz module descriptor --gav org.apache.tika:tika-core:3.0.0-BETA
subject: tika-core-3.0.0-BETA.jar
name: org.apache.tika.core
version: 3.0.0-BETA
open: false
automatic: true
requires:
java.base mandated
provides:
org.apache.tika.metadata.filter.MetadataFilter with org.apache.tika.metadata.filter.NoOpFilter
contains:
org.apache.tika
org.apache.tika.concurrent
org.apache.tika.config
org.apache.tika.detect
org.apache.tika.embedder
org.apache.tika.exception
org.apache.tika.extractor
org.apache.tika.fork
org.apache.tika.io
org.apache.tika.language.detect
org.apache.tika.language.translate
org.apache.tika.metadata
org.apache.tika.metadata.filter
org.apache.tika.metadata.writefilter
org.apache.tika.mime
org.apache.tika.parser
org.apache.tika.parser.digest
org.apache.tika.parser.external
org.apache.tika.parser.external2
org.apache.tika.parser.multiple
org.apache.tika.pipes
org.apache.tika.pipes.async
org.apache.tika.pipes.emitter
org.apache.tika.pipes.fetcher
org.apache.tika.pipes.fetcher.fs
org.apache.tika.pipes.fetcher.url
org.apache.tika.pipes.pipesiterator
org.apache.tika.pipes.pipesiterator.filelist
org.apache.tika.pipes.pipesiterator.fs
org.apache.tika.renderer
org.apache.tika.sax
org.apache.tika.sax.xpath
org.apache.tika.utils
I'd be great if the library supplied a full Java module descriptor. It's possible to keep bytecode baseline compatible with Java 8 while providing a full module descriptor thanks to [ModiTect|https://github.com/moditect/moditect]. This will help modular projects that consume feign-form, specifically those that create custom Java Runtimes with jlink, as the latter does not support automatic modules but explicit modules. If interested I can send a PR to make it happen.
FWIW the whole of Apache Commons project has embraced ModiTect.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)