如何从需要访问凭据的Maven存储库中检索?

编程入门 行业动态 更新时间:2024-10-23 07:20:11
本文介绍了如何从需要访问凭据的Maven存储库中检索?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我需要从需要访问凭据的Maven存储库中检索数据.我知道这些访问凭据.

I need to retrieve data from Maven repositories, that require access credentials. I know these access credentials.

拥有这些存储库的公司建议建立公司Maven存储库,然后代理其存储库.对我来说,这听起来有些复杂.

The company possessing these repositories suggests to set up a corporate Maven repository and then proxy their repositories. This sounds somehow complicated for me.

是否可以仅使用已知的访问凭据从本地本地设置检索而无需修改公司的Maven目录?

Can I set up retrieval without modifying the corporate Maven directory, just from my local using known access credentials?

推荐答案

您是否尝试在settings.xml中定义这些存储库?

Did you try to define these repos in your settings.xml?

您将这些存储库定义为服务器" .在这里,您还可以定义这些服务器的凭据...

You define these repos as "servers". There, you can define the credentials for these servers as well...

更多推荐

如何从需要访问凭据的Maven存储库中检索?

本文发布于:2023-11-28 16:29:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1643133.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:凭据   库中   Maven

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!