"-------------------------------------------------------------------------------\n";
public void execute() throws MojoExecutionException {
getLog().info( "Camel report directory: " + reportsDirectory );
ReportingTypeConverterLoader loader = new ReportingTypeConverterLoader();
ReportingTypeConverterRegistry registry = new ReportingTypeConverterRegistry();
try {
loader.load(registry);
String[] errors = registry.getErrors();
for (String error : errors) {
getLog().error(error);
}
}
catch (Exception e) {
throw new MojoExecutionException(e.getMessage());
}
if (generateReports) {
generateReport(loader.getTypeConversions());
}
}