There are two things wrong here:
1. You used the wrong command
2. From the name I suspect this already is a bundle. So do not wrap it.

install -s mvn:org.apache.httpcomponents/httpclient-osgi/4.0.1

Christian

On 19.08.2015 13:52, abhilashb wrote:
Hello,

Yes I tried installing the below package by using below cmg -

feature:repo-add wrap:mvn:org.apache.httpcomponents/httpclient-osgi/4.0.1

But it is not allowing me to install. Its throwing below error -

Error executing command: Error resolving artifact
org.apache.httpcomponents:httpclient-osgi:jar:4.0.1: Could not transfe
r artifact org.apache.httpcomponents:httpclient-osgi:jar:4.0.1 from/to
central (http://repo1.maven.org/maven2/): Error t
ransferring file: repo1.maven.org

Am I not using correct cmd to install the package?

Please guide me to install it. :)

Regards,
Abhilash B.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-issue-http-client-related-tp4041922p4041929.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to