projectHelper.attachArtifact(project, project.getPackaging(), "installer", new File(outputDirectory, installerName));
projectHelper.attachArtifact(project, "zip", "installer", new File( outputDirectory, installerName));
    public void execute() throws MojoExecutionException, MojoFailureException {        getLog().debug(" ======= GenerateInstallerMojo settings =======");        getLog().debug("workDirectory[" + workDirectory + "]");        getLog().debug("installerName[" + installerName + "]");        getLog().debug("jbiSourceDirectory[" + jbiSourceDirectory + "]");        try {            createUnpackedInstaller();            File installerFile = new File(outputDirectory, installerName);            createArchive(installerFile);            projectHelper.attachArtifact(project, project.getPackaging(), "installer", new File(outputDirectory, installerName));        } catch (JbiPluginException e) {            throw new MojoExecutionException("Failed to create installer", e);        }    }