FYI, Juven wrote an article about this, worth checking:
http://www.sonatype.com/people/2010/11/what-to-do-when-nexus-returns-401/
-Robert
> To: [email protected]
> From: [email protected]
> Date: Tue, 9 Nov 2010 08:59:16 +0100
> Subject: [mojo-dev] Re: Setting up a project in the sandbox
>
> Christopher Hunt wrote:
>
> > Hi Robert,
> >
> > Thanks for the info. Here's the result of my mvn deploy:
> >
> > [INFO] [deploy:deploy {execution: default-deploy}]
> > [INFO] Retrieving previous build number from codehaus-nexus-snapshots
> > [INFO] repository metadata for: 'snapshot
> > [org.codehaus.mojo.jsimport:js-import-plugin:1.0.0-SNAPSHOT' could not be
> > [found on repository: codehaus-nexus-snapshots, so will be created
> > Uploading:
> >
> https://nexus.codehaus.org/content/repositories/snapshots//org/codehaus/mojo/jsimport/js-
> import-plugin/1.0.0-SNAPSHOT/js-import-plugin-1.0.0-20101108.225104-1.jar
> > [INFO]
> > [------------------------------------------------------------------------
> > [ERROR] BUILD ERROR INFO]
> > [------------------------------------------------------------------------
> > [INFO] Error deploying artifact: Failed to transfer file:
> >
> [https://nexus.codehaus.org/content/repositories/snapshots/org/codehaus/mojo/jsimport/js-
> import-plugin/1.0.0-SNAPSHOT/js-import-plugin-1.0.0-20101108.225104-1.jar.
> > [Return code is: 401
> >
> > So I'm getting an HTTP 401. Does that help?
>
> Have you provided your public key for your Codehaus' account? See
> http://xircles.codehaus.org/my/details
>
> - Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>