首次在 Nexus 中部署 Artifacts
当我们第一次尝试在 nexus 存储库中上传工件时,出现以下错误。
Error retrieving previous build number for artifact 'foo.bar:bar:pom':
repository metadata for: 'snapshot foo.bar:bar:0.0.1-SNAPSHOT' could
not be retrieved from repository: InternalSnapshots due to an error:
Authorization failed: Not authorized.
我仔细检查了我的 nexus 用户名和权限,并根据 maven settings.xml 中指定的内容进行了验证,发现它们是正确的。还有什么我可能遗漏的吗???
When we try uploading our artifacts for the first time in the nexus repository I get the following error
Error retrieving previous build number for artifact 'foo.bar:bar:pom':
repository metadata for: 'snapshot foo.bar:bar:0.0.1-SNAPSHOT' could
not be retrieved from repository: InternalSnapshots due to an error:
Authorization failed: Not authorized.
I double checked my nexus username and priveleges and verified them against those that are specified in maven settings.xml and found them to be proper. Is there anything else that I might be missing???
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论