private boolean generateHTML = false;
public void execute() throws MojoExecutionException, MojoFailureException {
// getLog().info(String.valueOf(runtimeClasspathElements));
try {
NodeFactory factory = NodeFactory.getInstance();
NodeConfiguration configuration = null;
if (nodeConfiguration != null) {
getLog().info("Loading node configuration: " + nodeConfiguration);
configuration =
factory
.loadConfiguration(new FileInputStream(nodeConfiguration), nodeConfiguration.toURI().toURL());
} else if (contribution != null) {
getLog().info("Loading contribution: " + contribution);
configuration = factory.createNodeConfiguration().addContribution(contribution.toURI().toURL());
}
URL[] paths = buildClasspath();
ClassLoader classLoader = new URLClassLoader(paths, Thread.currentThread().getContextClassLoader());
outputDirectory.mkdirs();