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

Tim Allison edited comment on TIKA-3178 at 12/1/20, 3:20 PM:
-------------------------------------------------------------

For now, I thought we could start with a tika-bundle module that includes all 
the parsers in {{tika-parsers}}.
 
If this is the wrong overall design, let me know.  You can stop reading here 
and recommend a better approach!

I created and pushed a TIKA-3178 branch for this work.

I'm having problems getting commons-io from tika-core through to the bundle 
module, and I'm having similar problems with the simpler branch_1x when I add 
commons-io as a dependency in tika-core.

The immediate issue is that the bundle fails to build on:

{noformat}
 Unresolved requirements: [[org.apache.tika.core [13](R 13.0)] 
osgi.wiring.package; 
(&(osgi.wiring.package=org.apache.commons.io)(version>=1.4.0)(!(version>=2.0.0)))]

{noformat}

I have no idea how osgi is getting the version wrong.  If I try to manually set 
commons.io version to 2.8.0 in tika-core as I currently do on the TIKA-3178 
branch, I get different errors.

Help!





was (Author: talli...@mitre.org):
For now, I thought we could start with a tika-bundle module that includes all 
the parsers in {{tika-parsers}}.
 
If this is the wrong overall design, let me know.  You can stop reading here 
and recommend a better approach!

I created and pushed a TIKA-3178 branch for this work.

I'm having problems getting commons-io from tika-core through to the bundle 
module, and I'm having similar problems with the simpler branch_1x when I add 
commons-io as a dependency in tika-core.

The immediate issue is that the bundle fails to build on:

{noformat}
 
(&(osgi.wiring.package=org.apache.commons.io)(version>=1.4.0)(!(version>=2.0.0))
{noformat}

I have no idea how osgi is getting the version wrong.  If I try to manually set 
commons.io version to 2.8.0 in tika-core as I currently do on the TIKA-3178 
branch, I get different errors.

Help!




> Tika 2.0.0 -- Add back OSGi bundles for Tika parsers
> ----------------------------------------------------
>
>                 Key: TIKA-3178
>                 URL: https://issues.apache.org/jira/browse/TIKA-3178
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Blocker
>              Labels: 2.0.0
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to