This is the OSGi technical whitepaper: http://www.osgi.org/documents/collateral/OSGiTechnicalWhitePaper.pdf . Most relevant here is the Modularity section of the Architecture chapter.
To be usable in an OSGi setting, the jar manifest needs to have some entries added. Most important are the name and version, and a list of packages that are provided and/or used by the plugin. The Apache Felix project has a maven-bundle-plugin that automates this process. More info here: http://cwiki.apache.org/confluence/display/FELIX/Maven+Bundle+Plugin+%28BND%29 One of the things you can also do with this plugin, is select which packages end up in your jar. Looking at the current POM, that might be useful. On 8/27/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > Hi Tom > > I've heard the term OSGi from time to time, but have never took the time > to learn more about it. Do you know of a good place where I can find out > more about it? > > A quick look at Google suggests that it has something to do with entries > in the manifest in the jar file, is that correct? > > What would they look like and what is the benefit for the community if > we add them? > > Tom Huybrechts wrote: > > Is there any chance that OSGi headers could be added ? > > > > On 8/27/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > >> Hi all > >> > >> The poms for commons logging has taken some beating on this list over > >> the years. The reason for that has been the dependencies section. > >> Previous poms of commons-logging was created for Maven 1. These were > >> then converted into Maven 2 poms with various degree of success. In > >> particular the scope wasn't set properly. > >> > >> We are now preparing the next release of commons-logging (version 1.1.1) > >> which will be built with Maven 2. That means that the pom that ends up > >> in the Maven 2 repository will be the same one that we have created. > >> > >> To make sure that we have covered all bases this time we invite you, the > >> community, to help us get it right. The current pom.xml is available for > >> your viewing in our subversion repository: > >> > >> > >> https://svn.apache.org/viewvc/commons/proper/logging/trunk/pom.xml?revision=568979&view=markup > >> > >> Please post any comments you have on the pom to this list, and I will > >> bring the over to the commons community. > >> > >> -- > >> Dennis Lundberg > >> Apache Commons committer and PMC member > >> > >> --------------------------------------------------------------------- > >> 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] > > > > > > > -- > Dennis Lundberg > > --------------------------------------------------------------------- > 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]