It all depends of the mode you rune your tests (mebedded or forked)
pax-exma is pulling nothing "in" or exposing anything to OSGi if you do
not ask for it.
You should also distinguisch between maven-depndencies declared in your
pom and maven-urls declared in feature files.
The first are neve
> Steinar Bang :
[snip!]
>> What I would like to do, is to add the dependencies in
>> compile and let karaf-maven-plugin generate a feature
>> file from the compile dependencies, and then use that feature file in
>> the pax exam karaf config.
[snip!]
>> What I would like to do, is to add the d
> Steinar Bang :
> What happens if I put the dependencies in compile?
> Will this mess up the pax exam OSGi runtime startup?
> What I would like to do, is to add the dependencies in
> compile and let karaf-maven-plugin generate a feature
> file from the compile dependencies, and then use that
What scope should be used for maven dependencies for code used in pax
exam tests?
Should the compilation dependencies be done by using test
and the runtime dependencies be handled by adding a bundle to the pax
exam config?
What happens if I put the dependencies in compile? Will
this mess up the