I think OBR and Maven are two very different things. Maven provides an
actual repository where files are stored. OBR provides a "description"
of resources and their dependencies. Crucial is that these
dependencies are not limited to transitive JAR dependencies, they
model anything you want. This allows you, for example, to create a
resource in OBR that is configuration information for a particular
deployment. This resource could require the bundle's and other
resources needed to install this all on an OSGi env. The most
interesting part for me is that now OBR can resolve these dependencies
taking local details of the deployment env. into account. E.g. screen
size.
That is, you can easily create an OBR index on top of a Maven repo.
Comparing them is like comparing apples and a fruit basket.
Kind regards,
Peter Kriens
On 7 mei 2009, at 00:29, Moloney, Tim M wrote:
What are the pros and cons of using feature repositories, Maven
repositories, and OSGI bundle repositories in Karaf?
Feature Pros
- can include bundle configuration
- can include other features
- can group unrelated bundles/features
- no required directory structure
Feature Cons
- manually created
- no automatic dependency resolution
Maven Pros
- no configuration required
- convenient for development, can reuse local repository
Maven Cons
- no automatic dependency resolution
- no bundle configuration
- requires deep directory structure
OBR Pros
- automatic dependency resolution
- no required directory structure
OBR Cons
- no bundle configuration
- repository isn't as dynamic since bindex must be run to assimilate
changes
Did I miss anything? It appears that a combination of these is
probably
best. How are people using these repositories when distributing their
projects?
Tim Moloney The reasonable man adapts himself to
MRSL the world; the unreasonable one persists
2015 Cattlemen Road in trying to adapt the world to himself.
Sarasota, FL 34232 Therefore all progress depends on the
(941) 377-6775 x208 unreasonable man. - George Bernard Shaw
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]