protected Bundle installJbiBundle(String groupId, String artifactId, String classifier, String type) throws BundleException {
String version = getBundleVersion(groupId, artifactId);
File loc = localMavenBundle(groupId, artifactId, version, classifier, type);
File tmpDir = new File("target/temp/");
tmpDir.mkdirs();
File out = new JBIDeploymentListener().handle(loc, tmpDir);
Bundle bundle = bundleContext.installBundle(out.toURI().toString());
bundle.start();
return bundle;
}