Hi Udara, This is ok too, but AFAIK it's better to use <Private-Package>org.foo.myproject.*</Private-Package> as in [1] o that those classes won't get exposed to others(Since only you need these packages). Or either you can use <Embed-Dependency>dependencies</Embed-Dependency> as well. Then those jars will be embedded in the osgi jar
[1] - http://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html Thanks, On Tue, Jul 28, 2015 at 10:36 AM, Udara Liyanage <[email protected]> wrote: > Hi, > > I'v created a mediator project in order to write a custom mediator. > However if I am using some dependencies(not available in ESB) how can I > bundle them with the mediator jar. Dependencies were added to the pom, yet > they are not bundled by default. > > Dependencies were bundled when I added them to "export package". Is this > the correct way of packing dependencies, or is there is another way I can > specify which dependencies to be packed. > > <Export-Package>org.udara.mediation, org.mydependency</Export-Package> > > -- > > Udara Liyanage > Software Engineer > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > web: http://udaraliyanage.wordpress.com > phone: +94 71 443 6897 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile : +94715883223 Blog : http://lankavitharana.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
