Mark bundle as not supporting multiuse < HTTP/1.1 401 Unauthorized

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

I believe your curl command is incorrect, you need to ensure the binary is the body of the POST.

Could you help me correct the command, I believe this is the syntax showing on the sonatype’s documentation page.