Karaf tries to find the feature file in your local maven repository.
You have to first check out the source of the tasklist example and build it on your machine.

I also think you are installing the wrong feature. Tutorial 8 is about tasklist not tasklist cdi.
This is the correct one:
features:addurl mvn:net.lr.tasklist/tasklist-features/1.0.0-SNAPSHOT/xml

Best regards

Christian


Am 14.06.2014 16:26, schrieb lionceau:
Hi ,

 From https://github.com/cschneider/Karaf-Tutorial/tree/master/dosgi , i try
to do Karaf Tutorial Part 8 - Distributed OSGi

That don't work, I don't understand the error , why I have this error ?

karaf@root()> feature:repo-add
mvn:net.lr.tasklist.cdi/tasklist-features/1.0.0-S
NAPSHOT/xml
Adding feature url
mvn:net.lr.tasklist.cdi/tasklist-features/1.0.0-SNAPSHOT/xml
Error executing command: Error resolving artifact
net.lr.tasklist.cdi:tasklist-f
eatures:xml:1.0.0-SNAPSHOT: Could not find artifact
net.lr.tasklist.cdi:tasklist
-features:xml:1.0.0-SNAPSHOT in defaultlocal (file:/C:/Users/xxx/.m2/reposit
ory/)
karaf@root()>





--
View this message in context: 
http://karaf.922171.n3.nabble.com/Tutorial-Part-8-Distributed-OSGi-tp4033500.html
Sent from the Karaf - User mailing list archive at Nabble.com.


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

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to