Hi Jukka,

Am Donnerstag, den 24.01.2008, 10:05 +0200 schrieb Jukka Zitting:
> PS. Perhaps something for Apache Felix, couldn't the OSGi runtime just
> come up with reasonable default settings for using normal un-annotated
> jar files as bundles? Especially if it has access to the Maven POM
> (included in the jar file). What's the extra metadata that's currently
> missing?

I don't think that would be a good idea: The OSGi spec states the
requirements for bundles by defining the required headers in the
Manifest. Building some workaround for "non-bundles" in a specific
framework would lead to vendor-lockin and confusion. Therefore, I would
vote against such an addition.

In addition, creating these headers is very simple with the
maven-bundle-plugin from Apache Felix.

Regards
Felix


Reply via email to