in src/main/java/org/apache/nifi/NarMojo.java [497:512]
public void execute() throws MojoExecutionException {
copyDependencies();
try {
generateDocumentation();
} catch (final Throwable t) { // Catch Throwable in case a linkage error such as NoClassDefFoundError occurs
if (enforceDocGeneration) {
getLog().error("Could not generate extensions' documentation", t);
throw t;
} else {
getLog().warn("Could not generate extensions' documentation", t);
}
}
makeNar();
}