in maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractCWMojo.java [96:116]
public final void execute() throws MojoExecutionException, MojoFailureException {
final JavaLoggingToMojoLoggingRedirector logRedirector = new JavaLoggingToMojoLoggingRedirector(getLog());
logRedirector.activate();
try {
final List<String> classpath;
try {
classpath = createClasspath();
} catch (final DependencyResolutionException e) {
throw new MojoExecutionException("Error getting classpath artifacts", e);
}
final File target = getTarget();
final Properties config = weaverConfig == null ? new Properties() : weaverConfig;
getLog().debug(String.format("classpath=%s%ntarget=%s%nconfig=%s", classpath, target, config));
doExecute(target, classpath, config);
} finally {
logRedirector.deactivate();
}
}