Package org.apache.commons.openpgp.ant

Examples of org.apache.commons.openpgp.ant.OpenPgpSignerTask


    @Override
    protected void postProcessArtifacts(File organisationDirectory,
            ArtifactOutput artifactOutput) {

        OpenPgpSignerTask task = new OpenPgpSignerTask();
        task.setProject(getProject());
        task.setLocation(getLocation());
        task.setKeyId(keyId);
        task.setAsciiarmor(true);
        task.setPubring(pubring);
        task.setSecring(secring);
        task.setPassword(password);

        sign(task, getTargetFile(organisationDirectory, artifactOutput));
        sign(task, getTargetSourceFile(organisationDirectory, artifactOutput));
        sign(task, getPomFile(organisationDirectory, artifactOutput));
    }
View Full Code Here


    @Override
    protected void postProcessArtifacts(File organisationDirectory,
            ArtifactOutput artifactOutput) {

        OpenPgpSignerTask task = new OpenPgpSignerTask();
        task.setProject(getProject());
        task.setLocation(getLocation());
        task.setKeyId(keyId);
        task.setAsciiarmor(true);
        task.setPubring(pubring);
        task.setSecring(secring);
        task.setPassword(password);

        sign(task, getTargetFile(organisationDirectory, artifactOutput));
        sign(task, getTargetSourceFile(organisationDirectory, artifactOutput));
        sign(task, getTargetJavadocFile(organisationDirectory, artifactOutput));
        sign(task, getPomFile(organisationDirectory, artifactOutput));
View Full Code Here

TOP

Related Classes of org.apache.commons.openpgp.ant.OpenPgpSignerTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.