I believe <Embed-Transitive>true</Embed-Transitive>
should work. Sadly, I'm not at work so I can't check how, exactly, I did it. But the answer is, yes, it is possible to embed the transitive dependencies. Regarding the wild-card, http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html has a (somewhat) good description about how to add dependencies that match specific patterns/criteria. Just scroll down to the section "The following features are only available from version 1.2.0 onwards" with the subsection "Embedding dependencies". Hope that helps! /Per-Erik Svensson 2010/12/27 John Bäckstrand <[email protected]> > Is there an easy way when using the maven-bundle-plugin to include the > transitive dependencies of a specific dependency? > > For example I want to include htmlunit since I cannot find it in a bundle > form. But I also would like all its transitive dependencies. For this it > seems I have to specify all the packages in Embed-Dependency manually, > unless I use "*" which I do not want, since my other dependencies are > bundles and I deploy them manually in karaf. > > > > -- > John Bäckstrand >

