用户无法使用maven仅使用UI部署到Nexus 3

问题描述 投票:0回答:1

我正在编写有关如何设置Travis CI以部署到我们的本地Nexus 3 maven存储库的说明。我正在测试自己的指示,以确保一切正常。我发现除非使用管理员凭据,否则我无法使用maven上传任何工件。作为普通用户,我可以使用提供的Web UI上传,但不能上传。所有用户都拥有托管存储库的完全管理权限以及启用UI上载的nx-component-upload特权。我肯定错过了什么。运行maven deploy时收到的错误消息是:

   org.apache.maven.shared.transfer.artifact.deploy.ArtifactDeployerException: Failed to deploy artifacts: Could not transfer artifact nz.org.riskscape:rsum_api:jar:1.0 from/to juglab-release (https://dais-maven/repository/juglab-release/): Failed to transfer file https://dais-maven/repository/juglab-release/nz/org/riskscape/rsum_api/1.0/rsum_api-1.0.jar with status code 401

在此先感谢您的帮助

maven-3 sonatype nexus3
1个回答
0
投票

我终于开始工作了。问题出在设置文件中,用户名错误输入。

© www.soinside.com 2019 - 2024. All rights reserved.