asmgx
asmgx

Reputation: 8034

Cannot install or deploy due to error "'gpg.exe' is not recognized as an internal or external command,"

I am trying to deploy my java code, and generate Jar files so I can execute code through commands What I did is I tried to Run the "deploy" option in Maves "deploy -f pom.xml" I also tried the installatioin option "install" in Maves "install -f pom.xml"

Then process stopped and I got this error

[INFO] [INFO] --- maven-gpg-plugin:1.4:sign (default) @ ctakes --- 'gpg.exe' is not recognized as an internal or external command, operable program or batch file.

I have installed GnuPG, and added C:\Program Files (x86)\GnuPG to variables PATH

but still getting same error

Upvotes: 1

Views: 950

Answers (1)

Anish B.
Anish B.

Reputation: 16539

Restart the system and try again. I think maven is not able to pick the updated PATH variable.

Try to run this command : gpg --version

Read here about proper installation of GPG on windows.

Read here about creating secret key using gpg.

Upvotes: 1

Related Questions