* If the {@link Specification} cannot be created.
*/
private Specification createSpecification() throws MojoExecutionException {
String stylesheetLocation = (stylesheetTargetLocation == null) ? (stylesheetTargetRoot + "/" + type + "/docbook.xsl")
: stylesheetTargetLocation;
Specification specification = new Specification();
specification.setType(type);
specification.setStylesheetLocation(stylesheetLocation);
specification.setClassName(getClassName());
specification.setSuperClassName(superClassName);
specification.setPackageName(getPackageName());
specification.setDocbookXslVersion(version);
specification.setPluginSuffix(pluginSuffix);
specification.setParameters(extractParameters());
specification.setUseStandardOutput(useStandardOutput);
specification.setTargetFileExtension(targetFileExtension);
return specification;
}