private void mergeJars() throws IOException
{
log("Building " + jarName);
final List<File> jars = getJarsFromFileSet();
final ResourceMerger resourceMerger = new ResourceMerger(resourcesPaths);
final Archive mergedJar = resourceMerger.mergeJars(jarName, jars.toArray(new File[]{}));
setManifest(mergedJar);
final File newJar = exportJarFile(mergedJar, jarName);
log("Produced [" + newJar.getAbsolutePath());
}