In order to setup leiningen with pgp, you have to create a ~/.lein/credentials.clj
file and put following contents into it:
{
#"https:\/\/your.nexus.server.address\/" {:username "your_username" :password "supersecret"}
}
After that you can run lein deploy
.
If something is wrong, check wether nexus creds are correct.
One thing that made me (personally) surprised was the fact that you should specify
server name (address) of nexus server, but not repository name for auth.