felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Per-Erik Svensson <pererik.svens...@gmail.com>
Subject Re: Easily embed dependency all transitive with maven-bundle-plugin
Date Mon, 27 Dec 2010 21:24:13 GMT
I believe


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 <sopues@gmail.com>

> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message