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

Tommaso Teofili commented on STANBOL-1000:
------------------------------------------

thanks Rupert, I think in the long term your first proposal for adapting the 
SPIs looks more reasonable, however in the meantime it'd be nice to have a 
shortcut solution thus probably the optional import is a good fit for now.
Regarding the SPIs' loading I think some improvements have been done in 4.2.1 
so we may be able to save some classloading tricks.

                
> 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