Hi Henri, it seems to me that OSGi jars are not meant to be anything else that traditional jars with extra information in their MANIFEST. I would definitely recomment deploying them as standard jar as you would do for any normal maven project.
One thing that could/would differentiate your OSGi jars is that if you use the maven bundle plugin [http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html] then the pom deployed along side your jar will have the packaging set to "bundle". To me it seems like enough information. Another point of reference you might consider is how the springsource guys make OSGi-ified version of many java libraries in their bundle repository [http://www.springsource.com/repository/]. This acts pretty much as a simple maven repository delivering jars. Also I know that the Felix guys have an initiative around an OSGi Bundle Repository (OBR) [http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html]. This is meant to be a repository that is more OSGi specific. I could help with dependency resolution -- just as maven does -- by introspecting jars MANIFESTs. Archiva or Nexus would most probably satisfy your needs for maven repositories. They might become OBRs at some point when OSGi becomes more "mainstream". Hope this helps, SaM On Tue, Jan 27, 2009 at 10:24 PM, Henri Gomez <henri.go...@gmail.com> wrote: > Hi to all, > > We're using maven to build all our company projects for about 6 months > and are very happy with it. > Some of our projects, mainly Eclipse RCP plugins, are also mavenized. > > We know think about OSGIfing more of our projects (server side) and > track ASF projects Felix of course core but also ServiceMix Kernel. > > BTW, we wonder if there is a consensus or strategy about OSGIfied > artifacts and their location in external repositories. > > - Should we repackage our current projects to produce both jar and plugins ? > > - How and where to store these artifacts to make sure Felix could get > it (did a Nexus repository could do the job). > > - How to 'mark' artifacts to indicate the difference between strict > jar and OSIG jars (bundles). Eclipse prefix then with org.eclipse, SS > with com.springsource ? > > > Advices and experience are more than welcome. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org