Can you try some of the examples from my site and see if you hit the
same problems?
I wonder if the problem is specific to the packt example or general.
http://liquid-reality.de/display/liquid/Karaf+Tutorials
https://github.com/cschneider/Karaf-Tutorial
Christian
On 10.03.2015 18:20, Christian Eugster wrote:
I would say, the default path in org.ops4j.pax.url.mvn.cfg is right. Looking in
user.home/.m2/repository, I find the respective jar in the right place:
~/.m2/repository/com/packt/sample/1.0.0-SNAPSHOT/sample-1.0.0-SNAPSHOT.jar
The settings file in ~/.m2 had no extension. I added .xml and tried again, but
nothing better.
My steps:
1. I imported the sample projects of the book into eclipse
2. I run mvn install on Chapter2/recipe2/sample/pom.xml - succeeded
3. In karaf i did bundle:install -s mvn:com.packt/sample in different
variations I always get the error message Unable to install and karaf.log as
provided in one of the previous emails.
Regards Christian
Christian Eugster
Docuteam GmbH
Langacker 16
Postfach
CH-5405 Baden-Dättwil
+41 (0)56 470 03 37
[email protected]
Am 10.03.2015 um 18:04 schrieb Christian Schneider <[email protected]>:
You can configure it in etc/org.ops4j.pax.url.mvn.cfg but using the default
will save you from many problems.
Christian
On 10.03.2015 17:58, Christian Eugster wrote:
My local maven repository is at ~/.m2e. Maybe I have to configure this location
in karaf? Or reconfigure it in maven?
Christian
Christian Eugster
Docuteam GmbH
Langacker 16
Postfach
CH-5405 Baden-Dättwil
+41 (0)56 470 03 37
[email protected]
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com