And you can find more pax-url-mvn(which is used by Servicemix/karaf) 
configuration details from [1]

[1]https://ops4j1.jira.com/wiki/display/paxurl/Mvn+Protocol
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

www.camelone.org : The open source integration conference: 

On 2013-5-24, at 下午11:15, Gert Vanthienen wrote:

> L.S.,
> 
> 
> In order to be able to download SNAPSHOT versions from a repository,
> you have to append @snapshots to the repository URL.  If the
> repository only contains SNAPSHOTs, you can also append @noreleases to
> the same URL to avoid going to the repository to try and resolve
> release versions.
> 
> So the second URL should probably look something like this:
>  https://xxxx/nexus/content/repositories/snapshots@snapshots@noreleases
> 
> 
> Regards,
> 
> Gert
> 
> 
> On Fri, May 24, 2013 at 4:17 PM, jay <[email protected]> wrote:
>> 
>> when i run the below I am getting an error like -
>> 
>> karaf@root> osgi:install -s mvn:xxx/xxxx/0.0.1-SNAPSHOT
>> java.lang.RuntimeException: URL [mvn:xxx/xxx/0.0.1-SNAPSHOT] could not be
>> resolved.
>> 
>> 
>> I added the following nexus repository values in org.ops4j.pax.url.mvn.cfg
>> file ;
>> 
>>    https://xxxx/nexus/content/groups/public/, \
>>    https://xxxx/nexus/content/repositories/Snapshots/
>> 
>> I added the second line because my artifact is available under the Snapshots
>> repository..
>> 
>> Please let me know if i am missing anything?
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://servicemix.396122.n5.nabble.com/Installing-bundles-in-service-mix-tp5716881p5716889.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to