throws MojoExecutionException, MojoFailureException
{
Resource resource = prepareResources();
TomcatManager manager = new TomcatManager(getTomcatConfiguration(), getLog());
manager.stopTomcat();
// Copy the default web resources (could be the jars or war artifacts):
FileSystemUtils.copyResources(new Resource[]{ resource }, getLog());
// Copy the additional resources (if such are defined):