[ 
https://issues.apache.org/jira/browse/TIKA-4147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18053278#comment-18053278
 ] 

Andreas Arifin commented on TIKA-4147:
--------------------------------------

Thanks for the update. But can the guide 
(https://tika.apache.org/3.2.3/parser_guide.html#Add_your_MIME-Type) is updated 
as well? I was misled by it and needed to see the PR for the changes. Thanks

> [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)

Reply via email to