@Parameter(required=true)
private Map<String, String> classes;
public void execute() throws MojoExecutionException
{
SchemaLookup lookup = new SchemaLookup();
lookup.init();
for (String clazz : this.classes.keySet()) {
try {
getLog().info("Looking up schema for class " + clazz);
String targetFileName = this.classes.get(clazz);
String fileContents = "var " + clazz.replace('.', '_') + " = " + lookup.getSchemaForClass(clazz) + ";\n\n";
File outputFile = new File(targetFileName);
if (outputFile.getParentFile().mkdirs()) {
getLog().info("Created path " + outputFile.getParentFile());