Why am I getting a \"401 Unauthorized\" error in Maven?
Here\'s the error I\'m getting when calling mvn deploy (full logs at the bottom):
In my case I removed the server logon credentials for central from my setting.
central
admin
******
central
central
maven-central
http://www.localhost:8081/repository/maven-central/
I don't know why I did that, but its completely wrong since the central maven repo can be accessed anonymously. See my debug output that led to my error identification and resolution.
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://www.localhost:8081/repository/maven-central/ with username=admin, password=***