LOG.debug("Ignoring conditional feature {}", feature);
return Collections.emptySet();
}
+ // pax-exam's Karaf container generates a wrapper feature holding the test dependencies. Ignore it.
+ if ("test-dependencies".equals(feature.getName())) {
+ LOG.debug("Ignoring pax-exam wrapper feature {}", feature);
+ return Collections.emptySet();
+ }
if (!isInstalled(feature)) {
return Collections.emptySet();
LOG.info("Karaf Feature Service has not yet finished installing feature {}/{} (retry {})",
feature.getName(), feature.getVersion(), retries);
- } catch (Exception e) {
+ } catch (final Exception e) {
LOG.warn("Karaf featuresService.listInstalledFeatures() has thrown an exception, retry {}", retries, e);
}