How to install bundles to the Pax-Exam container from the local m2 repository?..
I was able to install from giving a file URL.
@Configuration
public Option[] config() {
return options(
bundle("file:///home/sample/Desktop/sample.jar"),
junitBundles()
);
But thats not scalable solution. So how can I tell the Pax-Exam to install bundles from the local m2 repository?.
Pax exam has a confiuration option mavenBundle that will help with this. It also supports to use the version from the pom. So you do not need it in the java source.