Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
$ mvn clean package verify install:install deploy:deploy

This single command will:

...

Execute this:

Code Block
languagebash
export GPG_TTY=$(tty) 
mvn clean verify deploy

If all goes well, you should be prompted to enter the passphrase for your PGP key, and your artifacts should be deployed!

...

  • ioctl failed to allocate tty
    • Execute export GPG_TTY=$(tty) before executing
  • *.asc.asc files in target/ folder
    • GPG plugin is executing twice, verify double-check your POM settings against the command executed
    • NOTE: It is unnecessary to explicitly specify the gpg:sign or verify goals
  • HTTP 400
    • You are deploying a SNAPSHOT to a release repo, or vice versa