I am trying to upload artifact to nexus repository, I am getting the 401 unauthorized error.
Also, I am trying changing the password but to no avail. It says authentication failed. I am however logged in to nexus repo GUI and CLI.
Also, I have allocated only 1 CPU to nexus, could it be an issue since I am in testing phase. Once this works, I would increase it to 4 cores as required.
Command : curl -v -u admin:Easy1234 --upload-file mozaic-1.0-SNAPSHOT.jar http://192.168.12.176:8081/repository/maven-snapshots/mozaic-1.0-SNAPSHOT.jar