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

Pieter commented on TIKA-1524:
------------------------------

The bundle does not intent to import junit, but still, it does. See the 
following snippet from the Import-Package section in MANIFEST.MF
{code}
 l,org.jdom;resolution:=optional,org.jdom.input;resolution:=optional,o
 rg.jdom.output;resolution:=optional,org.junit.internal,org.junit.runn
 er,org.junit.runner.notification,org.openxmlformats.schemas.officeDoc
{code}
I guess the <Import-Package> !org.junit, line excludes the root package, but 
not the sub packages.

> Can install Tika-Bundle, missing JUnit dependency
> -------------------------------------------------
>
>                 Key: TIKA-1524
>                 URL: https://issues.apache.org/jira/browse/TIKA-1524
>             Project: Tika
>          Issue Type: Bug
>          Components: packaging
>    Affects Versions: 1.7
>         Environment: Karaf 2.3.6
>            Reporter: Niels
>
> When I'm trying to install a feature which has a dependency on the 
> Tika-Bundle, it fails to install. It indicates it's missing a dependency to 
> JUnit. 
> Momentarily I solved this for myself by reverting back to Tika-Bundle version 
> 1.6
> Error executing command: Could not start bundle 
> mvn:org.apache.tika/tika-bundle/1.7 in feature(s): Unresolved constraint in 
> bundle org.apache.tika.bundle [336]: Unable to resolve 336.0: missing 
> requirement [336.0] osgi.wiring.package; 
> (osgi.wiring.package=org.junit.internal)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to