Hi Lu,

It's a not a Karaf issue: in OSGi, you have to create valid bundle.

Here your bundle needs a dependency deployed.

What's the missing ?

Regards
JB

On 11/20/2015 03:03 AM, Lu Qin wrote:


Hi,all.I have a question when I begin use karaf.In java ,I use maven to manage 
project dependences.When I use it to appoint the package as a WAR,I can build a 
war with my project and dependences.

Now,I use karaf,and appoint the package as bundle,and I use  
maven-bundle-plugin to manage the bundle,but it only build a single jar file as 
a bundle,I must manage the dependences manually.It always show the error message
about “missing requirement ***”.

Is there a easy way to build the bundle ? Can I build my project as a bundle 
and auto-general its dependences?

Thanks.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to