>>>>> Steinar Bang <s...@dod.no>:

>>>>> Eric Lilja <mindcoo...@gmail.com>:

>> You can also provision using mavenBundle()-API in Pax Exam

> Yeah, but it seemed simple to just add them as maven dependencies in a
> feature that was loaded (except it didn't work, because I bungled the
> copy paste).

> I'm to tired to do it now, but I'll verify that it works with the three
> bundles loaded.

> (and maybe I'll do it like you said, using mavenBundle() instead of
> polluting an innocent karaf feature...?)

As it turned out, I needed to use mavenBundle() in the pax exam test
setup, to be able to use jackson ObjectMapper in the debug trace:
 https://gist.github.com/steinarb/9dac9615664437ba8170c7846b73f83e

I removed the jackson bundle loads from the feature loaded in the test,
because starting the jackson bundles there, still gave me det could not
find ObjectMapper error.

The debug trace, including the JSON-ified arraylist, looks like this:
 https://gist.github.com/steinarb/792aa883ec2f9f4bd4ddce1241e1c9dc

Reply via email to