String remoteXmlFile = remotePath + "/" + project.getArtifact().getArtifactId() + CommandUtils.SUFFIXE_XML;
SSHClientUtils sshclient = new SSHClientUtils(hostServer, hostUser, hostPassword, logger);
logger.info("Creating directory " + remotePath + " ...");
sshclient.sendShell("mkdir -p " + remotePath, remoteDirectory);
logger.info("Moving " + localEarFile + " to " + remoteEarFile + " ...");
sshclient.sendFile(localEarFile, remoteEarFile);
logger.info("Moving " + localXmlFile + " to " + remoteXmlFile + " ...");