in tools/karaf-boot-maven-plugin/src/main/java/org/apache/karaf/boot/maven/GenerateMojo.java [60:74]
public void execute() throws MojoExecutionException {
try {
File buildDir = new File(project.getBuild().getDirectory());
File generatedDir = createGeneratedDir(buildDir);
URLClassLoader loader = projectClassLoader();
handleBootPlugins(loader, buildDir, generatedDir);
handleMavenPlugins(loader);
runMavenBundlePlugin();
} catch (Exception e) {
throw new MojoExecutionException("karaf-boot-maven-plugin failed", e);
}
}