public final void execute()

in src/main/java/org/apache/maven/plugins/gpg/AbstractGpgMojo.java [310:325]


    public final void execute() throws MojoExecutionException, MojoFailureException {
        if (skip) {
            // We're skipping the signing stuff
            return;
        }
        if (bestPractices) {
            enforceBestPractices();
        } else {
            if (!isNotBlank(passphraseServerId)) {
                // default it programmatically: this is needed to handle different cases re bestPractices
                passphraseServerId = GPG_PASSPHRASE;
            }
        }

        doExecute();
    }