List<String> list = generateCommandLine(wsdlOption, outputDirFile, basedir, wsdlURI);
getLog().debug("Calling wsdl2java with args: " + list);
try {
new WSDLToJava((String[])list.toArray(new String[list.size()])).run(new ToolContext());
doneFile.createNewFile();
} catch (Throwable e) {
getLog().debug(e);
throw new MojoExecutionException(e.getMessage(), e);
}