使用时AutoConfigureStubRunner
,我希望将凭据repositoryRoot
存储在 Maven 中settings.xml
,并在代码中仅指定存储库 URI(或别名)。
Spring-Cloud-Contracts/ 有没有办法AutoConfigureStubRunner
从 Maven 的设置中提取这些凭据?
我可以提供 uri+credentials 作为环境变量STUBRUNNER_REPOSITORY_ROOT
,但我仍然需要在其中显式设置凭据,并且在我的配置中我无法运行任意代码来提供值,因此我无法从设置中提取凭据.