} catch (WagonConfigurationException e) {
throw new MojoExecutionException("Unable to configure Wagon: '"
+ repository.getProtocol() + "'", e);
}
if (!wagon.supportsDirectoryCopy()) {
throw new MojoExecutionException("Wagon protocol '"
+ repository.getProtocol()
+ "' doesn't support directory copying");
}