Schema schema = xsdReader.readXsd(xsd, xsModel);
final Model model = modelTransformer.transform(schema);
readerGenerator.generate(model);
gatherMapperGenerator.generate(model);
immutableModelGenerator.generate(model);
immutableModelMapperGenerator.generate(model);
sampleXmlGenerator.writeSample(schema);
}
} catch (Exception e) {
throw new MojoExecutionException("Failed to run generators", e);
}