Sorry for this double post
(http://karaf.922171.n3.nabble.com/Jenkins-and-Karaf-3-0-0-td4031506.html)
but there seem to be no action else but here?

Currently we're using both native container and in parallel Karaf 2.3.2 with
pax exam 3.4 to run our tests and it works fine.
But when I try to bump the Karaf version to 3.0.0, tests start to fail and
the reason is "Caused by: org.ops4j.pax.exam.TestContainerException:
java.lang.NoClassDefFoundError:"/"Caused by:
java.lang.ClassNotFoundException"(even though we can see that the class
exist in the bundle/jar).
The test cases run fine in both terminal and in eclipse when we're using the
same setup with Karaf 3.0.0 so the problem only exist on Jenkins. 
I did as they did in https://ops4j1.jira.com/browse/PAXEXAM-543 and that
solved some initial issues with Karaf 3.0.0, before that Karaf didn't find
any artefacts.
The bundle Karaf/Jenkins can't find is a local/project bundle and not a 3pp.
 
I thought that it maybe had something to do with our manual setting of
repo.local etc on Jenkins so I ran with "mvn clean install
-Dmaven.repo.local=.repo -Dorg.ops4j.pax.url.mvn.localRepository=.repo
-Djava.io.tmpdir=.tmp" but still all the test run green in terminal
So what am I missing?
Regards,



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-Jenkins-tp4031573.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to