我需要从需要访问凭据的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存储库中检索?
发布评论