gpt4 book ai didi

maven - 如何配置 Maven Wagon

转载 作者:行者123 更新时间:2023-12-01 12:33:43 25 4
gpt4 key购买 nike

Maven Wagon HTTP documentation说:

其他功能可以通过系统属性进行配置:

maven.wagon.http.ssl.insecure = true/false (default false), enable/disable use of relaxed ssl check for user generated certificates.
maven.wagon.http.ssl.allowall = true/false (default false), enable/disable match of the server's X.509 certificate with hostname. If disabled, a browser like check will be used.
maven.wagon.http.ssl.ignore.validity.dates = true/false (default false), ignore issues with certificate dates.
maven.wagon.rto = time in ms (default 1800000), read time out.

这个配置也可以在settings.xml中完成吗?

最佳答案

Since it is reading it from system properties ,需要这样设置

export MAVEN_OPTS=-Dmaven.wagon.http.ssl.insecure=false -DsomeOtherSystemProperty=value

关于maven - 如何配置 Maven Wagon,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31191007/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com