Hi Raul, Actually I dont have any problem installing other bundles from Spring EBR. So I think it's not the mvn protocol.
Regards, Ngoc Hai --- On Thu, 10/13/11, Kripalani, Raul <[email protected]> wrote: > From: Kripalani, Raul <[email protected]> > Subject: Re: Install bundles from maven central repo > To: [email protected] > Date: Thursday, October 13, 2011, 3:50 PM > Hi Pham, > > The mvn: protocol is provided by PAX URL ( > http://team.ops4j.org/wiki/display/paxurl/Mvn+Protocol). > Could you install the war feature (features:install war) > and then try again? > > Thanks, > Raúl. > > On 13 October 2011 09:53, Pham Ngoc Hai <[email protected]> > wrote: > > > Hi, > > I'm trying to install bcprov-jdk16 (from here > > http://repo1.maven.org/maven2/bouncycastle/) with maven > in SMX: > > > > osgi:install -s mvn:bouncycastle/bcmail-jdk16 > > > > I get: > > java.lang.RuntimeException: URL > [mvn:bouncycastle/bcmail-jdk16] could not > > be resolved. > > > > What's wrong? > > > > (I tried osgi:install -s > mvn:org.bouncycastle/bcmail-jdk16 but get the same > > result) > > > > > > My org.ops4j.pax.url.mvn.cfg: > > > > org.ops4j.pax.url.mvn.repositories= \ > > http://repo1.maven.org/maven2, \ > > http://repo.fusesource.com/maven2, \ > > http://repo.fusesource.com/maven2-snapshot@snapshots@noreleases, > \ > > > > http://repository.apache.org/content/groups/snapshots-group@snapshots@noreleases, > > \ > > http://repository.ops4j.org/maven2, \ > > http://svn.apache.org/repos/asf/servicemix/m2-repo, \ > > http://repository.springsource.com/maven/bundles/release, > \ > > http://repository.springsource.com/maven/bundles/external > > > > > > > > > > My system: > > > > Karaf > > Karaf home > > /usr/local/apache-servicemix-4.2.0-fuse-02-00 > > Karaf base > > /usr/local/apache-servicemix-4.2.0-fuse-02-00 > > OSGi Framework > org.eclipse.osgi - 3.5.1.R35x_v20090827 > > > > JVM > > Java Virtual Machine > Java HotSpot(TM) 64-Bit Server VM version > > 20.2-b06 > > Vendor > Sun Microsystems Inc. > > Uptime > 16 hours 28 minutes > > Total compile time > 2 minutes > > Threads > > Live threads > 792 > > Daemon threads > 493 > > Peak > 813 > > Total started > 41014 > > Memory > > Current heap size > 767,188 kbytes > > Maximum heap size > 3,728,320 kbytes > > Committed heap size > 3,290,752 kbytes > > Pending objects > 0 > > Garbage collector > Name = 'PS Scavenge', Collections = 777, > Time > > = 54.828 seconds > > Garbage collector > Name = 'PS MarkSweep', Collections = 25, > Time > > = 30.345 seconds > > Classes > > Current classes loaded > 35,196 > > Total classes loaded > 35,606 > > Total classes unloaded 410 > > Operating system > > Name > Linux version > 2.6.18-194.el5xen > > Architecture > amd64 > > Processors > 2 > > >
