hey,

(1) which smx version do you use
(2) is this artifact already installed in your .m2 repo?
(3) do you use a proxy?
(4) can you post your pax.url.cfg file?
(5) whats the exact link you're using? wrap:mvn....

Kind regards,
Andreas

[1] https://search.maven.org/#artifactdetails%7Corg.apache.poi%7Cpoi%7C3.7%7Cjar

On Thu, Mar 15, 2012 at 13:30, woggle23 <[email protected]> wrote:
> Afternoon Team
>
> I have an issue using the osgi:install wrap:mvn... command. I'm trying to
> use this feature to automatically convert a maven artifact (stored in my
> local mvn repo) to a bundle, and install it into service mix. When entering
> the command within the karaf shell, the following is message is returned:
>
> java.lang.RuntimeException: URL [mvn:org/apache/poi/poi/3.7] could not be
> resolved.
>
> I've updated the settings in the org.ops4j.pax.url.mvn.cfg file, which now
> explicitly sets both org.ops4j.pax.url.mvn.settings and
> org.ops4j.pax.url.mvn.localRepository entries to the appropriate locations.
> However, even if my settings were wrong, as I understand it, the required
> artifact should be able to be resolved from the external public
> repositories; i.e. repo1.maven.org/maven2 (which is entered in this config
> file by default).
>
> Any help you can provide will be gratefully received.
>
> Cheers
>
> Matt
>
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/pax-url-mvn-issue-tp5567831p5567831.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to