Why am I getting a “401 Unauthorized” error in Maven?

前端 未结 21 1768
栀梦
栀梦 2020-11-29 18:06

Why am I getting a \"401 Unauthorized\" error in Maven?

Here\'s the error I\'m getting when calling mvn deploy (full logs at the bottom):

21条回答
  •  情深已故
    2020-11-29 18:12

    just change in settings.xml these as aliteralmind says:

      
          nexus-snapshots
          MY_SONATYPE_DOT_COM_USERNAME
          MY_SONATYPE_DOT_COM_PASSWORD    
     
    

    you probably need to get the username / password from sonatype dot com.

提交回复
热议问题