It's better to create three separate orbit bundles for the dependencies.
Please note that the groupId should be in this format -
org.wso2.orbit.<upstream-groupId>.

On Wed, Mar 11, 2015 at 2:31 PM, Danushka Fernando <danush...@wso2.com>
wrote:

> Refer to other osgi bundles. AFAIR what we do is add them as dependencies
> and import the packages needed for those libraries. We are not recommending
> to use dynamic imports as well. And we export the packages of the libraries.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Wed, Mar 11, 2015 at 2:24 PM, Supun Sethunga <sup...@wso2.com> wrote:
>
>> Hi,
>>
>> Im in the process of creating an orbit bundle for Apache Spark-mllib
>> 1.2.1.
>> Among the dependencies of mllib, there are three jars that are *not*
>> *osgi/orbit* bundles (Refer [1] ).
>>
>> Thus, whats the correct way of importing these packages to the bundle? is
>> it:
>>    (A) Adding the three libraries as dependencies, and import them as
>> private packages under "Private-package" in pom?
>>    (B) OR, Creating another set of orbit bundles for those three
>> dependent non-osgi jars and import them under "Import-package" in pom?
>>
>> OR is there any other way? Appreciate any clarification.
>>
>> [1]
>> https://docs.google.com/a/wso2.com/spreadsheets/d/1PJKTeNS1zgQ1HbAsg5FQumiaPNKPYxpn2gEVS1v2TC0/edit#gid=0
>>
>> Thanks,
>> Supun
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to