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