Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-1155

Release plugin should "warm up" GPG agent

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • prepare
    • None

    Description

      When releasing, you will probably sign. And release:prepare will execute build in batch mode. To make this work, gpg agent cache needs to be updated, see here:
      https://maven.apache.org/plugins/maven-gpg-plugin/usage.html#sign-artifacts-with-gnupg

      Quote: To prime gpg-agent caches, one can perform simple "sign" operation on workstation like this echo "test" | gpg --clearsign or can use gpg command gpg-preset-passphrase

      IF release plugin itself runs in interactive mode (like it does on workstations when we release ASF stuff for example), it should "warm up" gpg agent.

      Otherwise, first invocation will inevitably fail, developer will be unsure why.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cstamas Tamas Cservenak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: