Reputation: 100186
If I have a dependency of scope 'test' that is not an OSGi bundle, should I expect pax-exam to simply incorporate it in the probe bundle, or do I need to explicitly wrap it?
I have a case where neither approach is working., and I'm trying to diagnose the problem.
Upvotes: 0
Views: 42
Reputation: 12885
The probe bundle only includes the classes from the class path component containing the test class (usually just what's in src/test/java
of your project).
You can customize the probe, or simply provision your test dependencies as separate bundle. The probe imports all packages dynamically.
Upvotes: 1