Quantcast

Shooting myself in the foot w/maven:release

I was using mvn:release (release:prepare, release:perform) to release a number of modules today (for several hours – so much for speeding up through automation) but kept getting errors to the effect of:

[INFO] Error deploying artifact: Authentication failed: Cannot connect. Reason: Auth fail

[INFO] Error deploying artifact: Authentication failed: Cannot connect. Reason: Auth fail

It looks like the reason boiled down to extra, old passwords in my .m2/settings.xml file. Go figure. Quite an interaction between servers, scm, repository tags though – mostly blogging this since I’m sure I’ll quickly forget through the magic of copy&paste.