I have created a JIRA ticket for the changes to the commons-parent pom to add the bundle plugin: https://issues.apache.org/jira/browse/COMMONSSITE-23
I have also tested out the plugin by generating the jars/manifest for all but three components: http://people.apache.org/~niallp/commons-osgi/ I'll leave the ticket open for a few days - but unless there are objections/issues raised I plan to apply the changes to commons-parent. Niall On Dec 19, 2007 2:38 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > Hi, > > the products of commons are highly used throughout many projects. > > It would be great, if the projects here at Apche Commons could help > those projects that are using OSGi. > > OSGi is based around the concept of a bundle - a bundle is a jar file > with additional meta data like the packages it exports and a list of > external packages it is using (please forgive me if I'm simplifying here > too much). > > As many projects are using artifacts from Apache Commons, they need the > specific jars as bundles. This is most often done by creating so called > wrapper bundles: these are jars that have the same contents as the > original library with the addition of the required meta data. > You can find several examples here: > > http://svn.apache.org/repos/asf/felix/trunk/commons/ > > Now, it would be great, if the projects here at Apache Commons would > already provide artifacs that can be directly used in an OSGi environment. > > All that has to be done is adding some entries to the manifest. This is > usually a list of imported packages, a list of exported packages, a > symbolic name for the bundle and a version. (There are some more but > these are the most important ones). > > Adding these entries can be done by hand (not recommended) or with tools > automatically. For example the Apache Felix maven bundleplugin requires > just some lines of configuration and that's it. > > It would be great if some of the projects here could add these meta data > as part of their next release. This will make the life of all projects > using OSGi much much easier. > > So if you're interested in helping us, just let us know. We would be > happy to make the required changes to the poms or whatever needs to be > done. I cc'ed the Felix dev list as some Felix developers might not be > subscribed to the commons dev list, so please keep them cross posted. > > Thanks > Carsten > -- > Carsten Ziegeler > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > 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]