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