For OSGi, I developed an extension that parses an Eclipse installation, and
gives the dependencies of your project from its manifest.
It's called buildr4osgi.

On Mon, Aug 23, 2010 at 16:48, Peter Donald <[email protected]> wrote:

> Hi,
>
> One of the aspects I really like about OSGis is that it declares
> dependencies on an API rather than an implementation. So some of my
> code has a dependency on APIs of log4j, commons logging and the sl4j
> but all these APIs are provided by Pax Logging. OSGi has a repository
> system (OBR see
> http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html)
> that allows you to search for artifacts/bundles that satisfy
> APIs+constraints. Felix apparently apparently has a project in
> progress that integrates OSGi's OBR with Ivy
> (http://felix.apache.org/site/apache-felix-sigil.html) but I have yet
> to look into it.
>
> I would love to see buildr offer some sort of mechanism for building
> and caching a tree of dependencies based on queries to OBR. It could
> traverse as far as required (i.e. the minimal set for compilation, the
> minimal set for running, the runtime set with certain optional
> dependencies present or the complete tree). It would probably have to
> be something that sat next to regular maven repository integration but
> something that could build a config file for ivy/maven would be great.
>
> --
> Cheers,
>
> Peter Donald
>

Reply via email to