[
https://issues.apache.org/jira/browse/TIKA-4147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18056369#comment-18056369
]
Maxim Solodovnik commented on TIKA-4147:
----------------------------------------
Hello [~tallison],
I would add something like: in maven project it is sufficient to add
{{custom-mimetypes.xml}} to {{src/main/resources/}} folder
> [JPMS] Alternative way to provide custom MIME types
> ---------------------------------------------------
>
> Key: TIKA-4147
> URL: https://issues.apache.org/jira/browse/TIKA-4147
> Project: Tika
> Issue Type: Improvement
> Components: mime
> Affects Versions: 3.0.0-BETA
> Reporter: Maxim Solodovnik
> Priority: Major
> Fix For: 3.0.0-BETA
>
>
> I'm having src/main/resources/org/apache/tika/mime/custom-mimetypes.xml (As
> recommended here https://tika.apache.org/2.9.0/parser_guide.html)
> But this immediately introduces org.apache.tika.mime package in our jar
> (which is conflicting with same package in Tika ... (( )
> Maybe it worth to create some alternative way to implement this?
> Like
> * Something like MimeTypesFactory.CUSTOM_MIMES_SYS_PROP but pointing to
> resource on classpath?
> * Extendable static Map at MimeTypesFactory?
> * Some sort of Service Locator?
> * something better than above? ))
--
This message was sent by Atlassian Jira
(v8.20.10#820010)