maven:返回码为:401,ReasonPhrase:未经授权

时间:2017-09-17 11:20:28

标签: java android maven

我想使用swagger android客户端,所以我在使用我的android studio终端安装后部署maven。(我正在使用windows) 在将maven部署到我的android工作室时(使用mvn -Drat.skip = true deploy )我收到以下错误: -

Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project maven: Failed to deploy artifacts: Could not transfer artifact or
g.apache.maven:maven:pom:3.5.0 from/to apache.releases.https (https://repository.apache.org/service/local/staging/deploy/maven2): Failed to transfer file: https://repository.apache.o
rg/service/local/staging/deploy/maven2/org/apache/maven/maven/3.5.0/maven-3.5.0.pom. Return code is: 401, ReasonPhrase: Unauthorized.

0 个答案:

没有答案