Is there a way to get the Maven release plugin to sign the Git tag it creates during a mvn release:prepare
execution?
Staring from version 2.9.0 git supports tag.forceSignAnnotated config option, which will force git to sign tags as maven uses annotated tags when releasing. Just put
[tag]
forceSignAnnotated = true
into your .gitconfig file.
Unfortunately this seemed to be currently not available.
https://issues.apache.org/jira/browse/SCM-486
But this does not mean it might not be possible somehow?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With