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

ASF GitHub Bot commented on TIKA-4955:
--------------------------------------

tballison merged PR #3301:
URL: https://github.com/apache/tika/pull/3301




> tika-bundle-standard: make imports of non-embedded dependencies mandatory
> -------------------------------------------------------------------------
>
>                 Key: TIKA-4955
>                 URL: https://issues.apache.org/jira/browse/TIKA-4955
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Minor
>
> All our imports are \{{resolution:=optional}}. A user only finds problems at 
> runtime and then with a CNFE. We're asking too much of users.
>  
> :robot: proposal:
> {noformat}
>  Proposal:
>   - Import the packages of every non-embedded dependency used by a 
> default-enabled parser or detector with mandatory
>     resolution. A missing bundle then fails at resolve time with the package 
> named.
>   - Set version floors at the versions Tika builds and tests with, not bnd's 
> defaults. For example, bnd currently allows
>     org.apache.pdfbox [3.0,4) and org.apache.commons.compress [1.28,2).
>   - Keep resolution:=optional only for dependencies that are genuinely 
> optional at runtime.
>   - Add a BundleIT check that instantiates every SPI provider listed in the 
> bundle and fails if any provider can't load.
>     This catches dependencies that are missing from the embed list.
>  {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to