Currently, to set up configuration for Pax Exam, I find that I need to include all dependencies. E.g. something like
@Configuration
public Option[] сonfig() {
MavenArtifactProvisionOption commonsDbcp = mavenBundle("commons-dbcp",
"commons-dbcp");
MavenArtifactProvisionOption commonsPool = mavenBundle("commons-pool",
"commons-pool");
...
return options(
felix(),
provision(commonsDbcp, commonsPool));
}
But since commons-dbcp
depends on commons-pool
, this feels like duplicate information. Is it possible for Pax Exam to figure out that commons-dbcp
is needed without adding it explicitly?