java“gpg2”未被识别为内部或外部命令
我在linux中使用maven-gpg-plugin
一切正常我可以安装gpg2 for sign,但在windows中部署时存在问题
有log'gpg2' is not recognized as an internal or external command,
operable program or batch file.
(与我得到的gpg2 --version
相同)
和
Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign (sign-artifacts) on project
如何为windows安装gpg2
# 1 楼答案
在您的设置中。xml文件,更改
gpg.executable
属性。例如