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

Debugging karaf feature pax exam test in eclipse, possible?

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 eclipse 2023-03 (4.27.0) When I set breakpoints in a pax exam test and run the test in debug in eclipse, the breakpoints are never