protected Exporter configureExporter(Exporter exporter)
throws MojoExecutionException {
String implementation = getComponentProperty("implementation",
getComponent().getImplementation());
ComponentConfiguration componentConfiguration = getComponentConfiguration(implementation);
getLog().debug("using " + componentConfiguration.getName() + " task.");
Properties properties = new Properties();
properties.putAll(componentProperties);
exporter.setProperties(properties);
exporter
.setConfiguration(componentConfiguration.getConfiguration(this));
exporter.setOutputDirectory(new File(getComponent()
.getOutputDirectory()));
return exporter;
}