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

Rupert Westenthaler commented on STANBOL-1000:
----------------------------------------------

Found a 2nd reason why the ICU alalyzers need to be in the same module as the 
default analyzers. Both packages 

    org.apache.lucene.collation
    org.apache.lucene.collation.tokenattributes

are used by the lucene-analyzers-icu as well as lucene-analyzers-common. In 
OSGI a single package can only be exported by a single module. Therefore if two 
none OSGI jars export classes for the same package one need to embed them in 
the same OSGI bundle to have all classes provided by the different jars.


                
> Missing OSGi configuration for updated Solr commons core
> --------------------------------------------------------
>
>                 Key: STANBOL-1000
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1000
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Commons
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>
> When trying to run commons.solr.core bundle in a custom environment the 
> following missing packages show up (apart from the optional):
> com.ibm.icu.lang -- Cannot be resolved
> com.ibm.icu.text -- Cannot be resolved
> com.ibm.icu.util -- Cannot be resolved
> com.spatial4j.core.context -- Cannot be resolved
> com.spatial4j.core.distance -- Cannot be resolved
> com.spatial4j.core.exception -- Cannot be resolved
> com.spatial4j.core.io -- Cannot be resolved
> com.spatial4j.core.shape -- Cannot be resolved
> com.sun.management -- Cannot be resolved
> org.apache.commons.cli,version=[1.2.0,2) -- Cannot be resolved
> org.apache.commons.codec.binary,version=[1.7.0,2) -- Cannot be resolved
> org.apache.commons.lang,version=[2.6.0,3) -- Cannot be resolved
> org.apache.regexp -- Cannot be resolved
> so I think that basically we should add most of them (excluding commons-xyz) 
> with an optional resolution in the Import-Package directive.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to