This is crazy! I looked at my access log on the server after performing a deploy. It shows [DENIED DEPLOY] libs-snapshots-local:.. for anonymous/[my machine ip]
I am definitely setting the server tag in $MAVEN_HOME/conf/settings.xml and there's no overriding settings in my $HOME/.m2. I'm running the deploy from the cmd line and I can't seem to figure out why it's not sending the credentials. I'm gonna triple check my pom, copy/paste the server id from the pom into the settings.xml. **D'oh*** I just figured it all out! I had been running maven from an entirely different location. Long story lengthened, a while back when I realized Apple was smart enough to pre-bundle Maven (which caused this very same problem) I became smart enough to copy my Subversion copy in place of the included version. I then forgot it was there and started checking out maven into another location I use across multiple machines. I assumed all along that this was the very same version that I was running since it had been picking up my repo settings. Thanx for all of your help and I feel silly now. Yoav Landman-3 wrote: > > Looks like your authentication failed. The server side log > (artifactory.log > and access.log) should give you more information about possible > authentication failures. Unfortunately maven discards anything from the > response beside the status code (Artifactory does send back an error > description that other REST tools emit). > > On Mon, Nov 2, 2009 at 11:41 PM, Clifton <[email protected]> wrote: > >> >> I'm getting error 401 when I try to deploy to my artifactory instance. >> I've >> recently upgraded from a much older version of Artifactory but I also >> managed to perform at least one deployment since the upgrade. Could >> somebody >> help? It looks like my server tag has the correct uid/pwd to the >> developer >> admin account that I setup. Is there an easy way to diagnose the root >> cause >> to this problem? All I get on the console is error 401. >> >> ----- >> Cliff >> http://codeforfun.wordpress.com >> http://old.nabble.com/file/u156847/Cliff-in-the-lab.png >> -- >> View this message in context: >> http://old.nabble.com/Error-401-on-deploy-release%3Aperform-tp26157852p26157852.html >> Sent from the Artifactory-Users mailing list archive at Nabble.com. >> >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Artifactory-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/artifactory-users >> > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Artifactory-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/artifactory-users > > ----- Cliff http://codeforfun.wordpress.com http://old.nabble.com/file/u156847/Cliff-in-the-lab.png -- View this message in context: http://old.nabble.com/Error-401-on-deploy-release%3Aperform-tp26157852p26196735.html Sent from the Artifactory-Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
