String message = String.format("Adding files to distribution zip [%s]: \n\t%s",
distributionFile.getCanonicalPath(), StringUtils.join(additionalFiles, "\n\t"));
getLog().info(message);
zipFile.addFiles(filesToAdd, parameters);
}
} catch (ZipException e) {
throw new MojoExecutionException("Cannot add files to zipfile: " + distributionFile, e);
} catch (IOException e) {
throw new MojoExecutionException("Cannot add files to zipfile: " + distributionFile, e);