On Mon, 2016-09-12 at 12:52 +0100, Ian Boston wrote: > Hi, > I haven't done a release for years and so my setup may be out. I am > following [1] but hitting some problems. I am wondering if anyone > else has > had problems. > > Issues I am seeing 2 problems, possibly related > > gpg signing fails if I use an encrypted passphrase in setting.xml. It > works > ok if I use a clear text passphrase. The maven encrypted password > feature > doesn't provide any feedback and I am not seeing any errors relating > to it. > I can work round this issue, but would prefer to fix it. I have > already > tried re-creating my mvn master password, and re-encrypting the gpg > passphrase.
FWIW I don't seet a passphrase at all and wait for the gpg-agent process to prompt for one (running Linux, but Macs should be close enough ). It only does so once per login session if I choose to cache it. > > mvn deploy fails for a snapshot with a 401. I can login to the UI at > https://repository.apache.org/ with no issues. Both encrypted and > clear > text passwords fail for mvn deploy. IIUC 401 indicates AuthN fail > rather > than AuthZ fail. Do you see the 'Staging Repositories' menu item once you log in? Robert
