*/
private void deploy() throws IOException {
LOG.info("Generating jar-archive");
final DirectoryBuilder dirs =
new DirectoryBuilder(baseDirectory, outputDirectory);
final ConfigCopier cc = new ConfigCopier(dirs);
cc.copy();
LOG.debug("Creating properties: " + artifactId + ", " + version + ", "
+ finalName + ", " + classifier + ", " + scmUrl);
cc.createProperties(artifactId, version, finalName, classifier, scmUrl);
LOG.debug("Building jar: " + finalName + '-' + classifier);
File jar = new JarBuilder(dirs, finalName + '-' + classifier).build();
LOG.info("Deploying " + jar.getName());
if (deployUrl != null && deployUrl.toLowerCase().startsWith("http")) {