I'm sorry to be unclear, you all answered my question, so I'll clarify what question I was asking.
I have built some internal maven-centric tooling that can locate dependencies; it works by incorporating metadata in my bundles that lists the maven coordinates of the bundles that supply the imported packages. I'm considering replacing this tooling with code that searches for bundles using R5/OBR Repository. I already have Nexus Pro doing OBR, so I don't think I need Cave. I just need the client side implementation of the repository spec so that I can communicate with a repo and locate dependencies. I'm looking for some example code to learn from; the fact that the gogo shell talks to the Felix-specific service means it's not a great example, so I'm searching elsewhere. On Wed, Jul 8, 2015 at 9:44 AM, Jean-Baptiste Onofré <[email protected]> wrote: > Not sure to follow you, but Cave expose the repository XML and Karaf > features resolver can use it as remote resources repository (or OBR can do > that as well). > > Regards > JB > > > On 07/08/2015 03:38 PM, Benson Margulies wrote: >> >> I am beginning to become less dense on this subject. To use the >> Repository service, I need someone's implementation that reads the XML >> over the network and does the work. >> >> On Tue, Jul 7, 2015 at 4:30 PM, Jean-Baptiste Onofré <[email protected]> >> wrote: >>> >>> FYI, Apache Karaf Cave provides an implementation of OSGi Repository R5 >>> (with additional features like Maven repo, REST API, etc). >>> >>> Regards >>> JB >>> >>> >>> On 07/07/2015 10:28 PM, Neil Bartlett wrote: >>>> >>>> >>>> Hi Benson, >>>> >>>> First, why not read the Repository Service Specification? OSGi >>>> compendium >>>> R5, chapter 132. >>>> >>>> Regards, >>>> Neil >>>> >>>>> On 7 Jul 2015, at 21:25, Benson Margulies <[email protected]> wrote: >>>>> >>>>> Reading org.apache.felix.gogo.command.OBR, I see that it uses a >>>>> felix-specific service which in turn talks to >>>>> org.osgi.service.repository.Repository. I'm hoping to write some >>>>> container-independent code to look for things in an OBR repo; can >>>>> anyone advise? Should I just learn from >>>>> org.apache.felix.bundlerepository.impl.OSGiRepositoryImpl? >>>>> >>>>> --------------------------------------------------------------------- >>>>> 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] >>>> >>> >>> -- >>> Jean-Baptiste Onofré >>> [email protected] >>> http://blog.nanthrax.net >>> Talend - http://www.talend.com >>> >>> >>> --------------------------------------------------------------------- >>> 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] >> > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com > > --------------------------------------------------------------------- > 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]

