Also, where is your settings.xml file located? I have seen instances where it was one one account's .m2 directory and the person was using another account to do the compile. And cases where the file was in the Maven conf directory but the user was using a different copy of Maven to do the compile (very easy to do when using Eclipse or some other IDE which has its own embedded copy of Maven).
My setting files at my home directory. I ran with -X option and it looks ok to me.
[DEBUG] Reading global settings from C:\maven\apache-maven-3.2.1\bin\..\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\Bob\.m2\settings.xml
[DEBUG] Using local repository at C:\Users\Bob\.m2\repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\Bob\.m2\repository
Path /org/bhavesh/my-test not found in local storage of repository "Snapshots" [id=snapshots]
org.sonatype.nexus.proxy.ItemNotFoundException: Path /org/bhavesh/my-test not found in local storage of repository "Snapshots" [id=snapshots]
As you said I login as admin and look at permission and deployment Userid has full control on all repositories.
Note: I have uploaded Releases repositories using GUI, but snapshot repositories doesn't have option to upload in GUI.
Also, I have notice that when I ran with -X potion it said could not find metadata. Do you think I am missing something?
Who among you feels worthy enough to be my best friend? Test 1 is to read this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop