Re: How to add jackson runtime to a pax exam integration test?

2023-06-04 Thread Steinar Bang
> Steinar Bang : > Eric Lilja : >> 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

Re: How to add jackson runtime to a pax exam integration test?

2023-06-03 Thread Steinar Bang
> Eric Lilja : > You have databind twice there, I believe you will be needing annotations, > core, and databind. Indeed I do! Bad copy/paste it looks like... well spotted! Thanks! I'm past needing the debug trace (I figured how to use a ScopeRunner with ThreadLocalScopeManager in place of

Re: How to add jackson runtime to a pax exam integration test?

2023-06-03 Thread Eric Lilja
You have databind twice there, I believe you will be needing annotations, core, and databind. I often use a particular service in my PaxExam tests, and its feature provisions those three Jackson artifacts, since the service uses Jackson internally. Skip gson.. You can also provision using

Re: How to add jackson runtime to a pax exam integration test?

2023-06-03 Thread Steinar Bang
> Steinar Bang : [snip!] > I have added the following compile scope dependencies to the integration > test project itself. > I have also added these dependencies to the project containing the test > feature loaded by the integration test, causing the jackson bundles to > be added to that

How to add jackson runtime to a pax exam integration test?

2023-06-03 Thread Steinar Bang
Platform: debian 11.7 "bullseye", amd64 openjdk-17-jdk:amd64 17.0.6+10-1~deb11u1 (ie. java 17) karaf 4.4.3 pax-exam 4.13.5 Since I was unable to debug into my pax exam integration test (see other posting on this list), I decided to try the good old way of adding