log.info("Resolving OSGi bundle: " + b.getSymbolicName());
try {
stateController.assertResolved(b);
log.info("OSGi bundle is resolved: " + b.getSymbolicName());
} catch (BundleException e) {
stateController.analyzeErrors(b);
if (failOnError) {
throw new MojoExecutionException("OSGi bundle resolution failed");
}
}
}