in maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractPrepareMojo.java [34:44]
protected void doExecute(final File target, final List<String> classpath, final Properties config)
throws MojoExecutionException {
if (!target.isDirectory()) {
return;
}
try {
new CleanProcessor(classpath, target, config).clean();
} catch (final Exception e) {
throw new MojoExecutionException("cleaning failed due to " + e.getMessage(), e);
}
}