tempFile.deleteOnExit();
configMap.put("org.osgi.framework.storage",
tempFile.getAbsolutePath());
Felix felix = new Felix(configMap);
felix.start();
final BundleContext bundleContext = felix.getBundleContext();
Set<Bundle> installedBundles = new HashSet<Bundle>();
for (Object dep : mojoExecution.getMojoDescriptor().getPluginDescriptor().getIntroducedDependencyArtifacts()) {
Artifact artifact = (Artifact) dep;