void (final File tempDirectory) { try { final File resultedJar = new File(getArtifactOutputPath()); FileUtil.copyDir(tempDirectory, resultedJar); } catch (IOException e) { LOG.info(e); } FileUtil.delete(tempDirectory); }