I agree with Ray, you could use the bnd-indexer-maven-plugin. You would use this by creating a Maven module that references all of the modules that you want to include in the index. The plugin will index the full transitive dependency tree (compile + runtime scope) of the module it is attached to, though you can of course use <exclusion> blocks to thin this down if you desire.
NB there is no requirement to use any of the other bnd Maven plugins… you can use the bnd-indexer-maven-plugin while continuing to use maven-bundle-plugin to build the actual bundles. Regards, Neil > On 8 Oct 2017, at 09:18, Raymond Auge <raymond.a...@liferay.com> wrote: > > On Oct 8, 2017 6:39 AM, "Jean-Baptiste Onofré" <j...@nanthrax.net > <mailto:j...@nanthrax.net>> wrote: > > Hi David, > > I guess the repository.xml is updated by the maven-bundle-plugin right (in > your .m2/repository) ? > > Regards > JB > > > On 10/08/2017 05:19 AM, David Leangen wrote: > >> Hi! >> >> I have a few felix projects that I have patched and would like to test, >> but I need to create an OBR containing just those projects. >> > > Just for purists sake, you probably mean R5 index as obr refers to a > specific non-standard form of OSGi repository which should be avoided... > > >> I am a bit stumped as to how to go about it, though. >> > > Have you looked at the bnd-indexer-maven-plugin? > https://github.com/bndtools/bnd/tree/master/maven/bnd-indexer-maven-plugin > <https://github.com/bndtools/bnd/tree/master/maven/bnd-indexer-maven-plugin> > > - Ray > > >> >> Specifically, there are 3 projects: >> >> * converter/converter >> * converter/serializer >> * converter/schematizer >> >> >> I would like to have an OBR that contains only those 3 bundles. >> >> >> Any suggestions as to how I could go about that? >> >> maven-bundle-plugin is already configured in those projects. I am guess >> that I just need to set it up properly, but I am not understanding from the >> docs, and I have not found any examples. >> >> >> Thanks!! >> =David >> >> >> > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org