On 30/01/2008, Patrick Forhan <[EMAIL PROTECTED]> wrote: > > On Jan 30, 2008 9:41 AM, Stuart McCulloch <[EMAIL PROTECTED]> > wrote: > > true, but we'd also lose automatic creation of OBR metadata for > > the local maven repository, which is a big plus for many users... > > I'm a bit of a maven-obr-plugin newbie, but could you be more specific > here? What good does putting OBR metadata in the local maven > repository do?
With the 1.2.0 bundleplugin, every time you install a bundle to your local maven repository, it automatically updates the OBR metadata associated with it using code shared with the maven-obr-plugin (by default it updates "repository.xml" at the root of the repository) This means you can pull bundles from your local maven repository into your OSGi application using OBR, which can be useful during development (as your local repository is like an OBR cache). Completely separating the bundleplugin from the maven-obr-plugin means that you wouldn't get this OBR metadata when installing your bundles - so you'd then have to use bindex manually* if you wanted to treat your local repository as an OBR. (* or customize your pom.xml to add the maven-obr-plugin goals) This leads me on to why we're having this vote... The maven-obr-plugin also supports updating of remote OBR files when you deploy bundles to remote servers - and we're thinking about adding this to the deploy phase of the bundle lifecycle so that an "mvn deploy" would also update the remote OBR file(s) (there'd be a flag to turn this feature on/off + additional options) Currently, we push our bundles out to several remote > servers and run bindex on each. > > If there's a big win that maven-obr-plugin could do for us, I'd love to > know. The maven-obr-plugin uses bindex under the covers and was designed to help manage local and remote OBRs - I'd suggest you try the current 1.2.0-SNAPSHOT maven-obr-plugin as this contains several fixes reported wrt. remote updating of OBR. Documentation for the maven-obr-plugin can be found here: http://felix.apache.org/site/maven-obr-plugin.html and new features can be requested (or bugs reported) on JIRA so if there's anything missing - or something that would make your life easier, feel free to suggest it :) Pat. > -- > Defy mediocrity. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Cheers, Stuart

