What scope should be used for maven dependencies for code used in pax exam tests?
Should the compilation dependencies be done by using <scope>test</scope> and the runtime dependencies be handled by adding a bundle to the pax exam config? What happens if I put the dependencies in <scope>compile</scope>? Will this mess up the pax exam OSGi runtime startup? What I would like to do, is to add the dependencies in <scope>compile</scope> 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. Is this possible? Or will, as asked above, using the compile scope on dependencies mess up the pax exam OSGi startup somehow? (If so, I could create a new maven project to produce that feature file, but it feels like clutter) Thanks! -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
