On 2010-7-14, at 上午1:46, ssheth wrote:


When I connect to remote server using ssh client. I was not able to run the
osgi:install command
When I tried
remotesmi...@root>osgi:install -s
mvn:org.apache.servicemix.examples/http-osgi
I saw java.lang.RuntimeException: URL
[mvn:org.apache.servicemix.examples/http-osgi] could not be resolved.

Which maven repository this command looks into inorder to install this
component?
Hi,

maven repo that will check already specified in the $SMX4_HOME/etc/ org.ops4j.pax.url.mvn.cfg on remote server.

Do I need to have maven installed on remote server in order for install to
work?
You needn't install maven on remote server, but your remote server should be able to access the maven repo you specified in $SMX4_HOME/ etc/org.ops4j.pax.url.mvn.cfg on remote server, and you need ensure mvn:org.apache.servicemix.examples/http-osgi already in those specified maven repos .

Freeman
--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Ant-task-for-uninstalling-osgi-bundles-tp1045735p1046895.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


--
Freeman Fang

------------------------
Open Source SOA: http://fusesource.com
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org

Reply via email to