There's is/was bug in nexus when dealing with S3 repositories ( https://issues.sonatype.org/browse/NEXUS-1121)
But 1. its fixed in future/beta versions of nexus and 2. there's a workaround (see comments). cheers, Toni On Tue, Mar 10, 2009 at 5:10 PM, Stuart McCulloch <[email protected]> wrote: > 2009/3/10 David Gallardo <[email protected]> > > > Hi all - > > > > We're using Felix as the framework for an OSGi-based application. For > > this, I originally obtained OSGified bundles for third-party > > components--hsqldb, log4j, httpclient--from the SpringSource > > repository. > > > > We are now in the process of moving to Nexus to support our Maven > > builds, but it doesn't seem that Nexus works as a proxy for the > > SpringSource repository. > > > > So I have several questions: > > > > 1. Should we even be using the bundles from SpringSource event though > > we're using Felix and not Spring DM? > > > sure, they're OSGi bundles with valid metadata so you should be > able to mix and match, and let the framework sort out the wiring ;) > > also Spring-DM does run on Felix (and Equinox and Knopflerfish) > > 2. Assuming that's something we should be doing, is there a way to get > > the SpringSource repository to work as a Maven2 repository with Nexus? > > > which particular repository URL are you using to configure Nexus? > > the Spring-DM repository actually has 2 URLs, one for browsing and > one for using it as a Maven repository (this is due to the use of S3) > > you can use it as a normal Maven repo using the following URL: > > http://repository.springsource.com/maven/bundles/external > ( see http://www.springsource.com/repository/app/faq#q8 ) > > so afaik it should also work with Nexus > > 3. Or, is there a better choice of a repository for OSGi bundles that > > works with Nexus? > > > > there are other Maven repositories that contain bundles, but the spring > one is probably the most "complete" - of course the central Maven repo > also contains bundles, but it also contains non-OSGi jars... > > anyone have other suggestions? > > PS. you could use dynamic wrapping techniques to bundle on-the-fly: > > http://wiki.ops4j.org/display/ops4j/Pax+URL+-+wrap > > HTH > > Thanks in advance! > > > > @D > > > > -- > > Follow me on twitter: djgallardo > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > -- > Cheers, Stuart > -- Toni Menzel Software Developer [email protected] http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.

