[ 
https://issues.apache.org/jira/browse/MRELEASE-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tamas Cservenak updated MRELEASE-1155:
--------------------------------------
    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.

  was:
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.


> Release plugin should "warm up" GPG agent
> -----------------------------------------
>
>                 Key: MRELEASE-1155
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-1155
>             Project: Maven Release Plugin
>          Issue Type: Improvement
>          Components: prepare
>            Reporter: Tamas Cservenak
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to