javamavenrepositorymaven-3nexus

Maven error: Not authorized, ReasonPhrase:Unauthorized


I checked out my code from the Nexus repository repository. I changed the password for my account and set it correctly inside my settings.xml file. While executing mvn install clean I get the error saying Not authorized, ReasonPhrase:Unauthorized when it tries to download files from that repository.

Any idea how to solve this error? I am using Windows 7 with Maven 3.04


Solution

  • The problem here was a typo error in the password used, which was not easily identified due to the characters / letters used in the password.