[英]Configuring Maven when using JFrog CLI
WHen trying to run a build of a maven application using jfrog cli, one of the prerequisite steps is to run当尝试使用 jfrog cli 运行 maven 应用程序的构建时,先决条件之一是运行
jf mvn-config
When we run it manually on a server, it has an interactive step to configure the resolution for release dependencies (tab and select)当我们在服务器上手动运行它时,它有一个交互式步骤来配置发布依赖项的解析(选项卡和选择)
I am wondering is there a way to feed in the config parameters as cli arguments to jf mvn-config so that we can set the properties programmatically for the repoository?我想知道有没有办法将配置参数作为 cli arguments 输入到jf mvn-config以便我们可以以编程方式为存储库设置属性?
Thanks for the help谢谢您的帮助
I believe this comment from the JFrog CLI Github page and the --global attribute option described here would be an useful information.我相信来自 JFrog CLI Github 页面的评论和此处描述的 --global 属性选项将是有用的信息。 It is important to note that the configuration set up using jf mvn-config
may override the global settings.需要注意的是,使用jf mvn-config
设置的配置可能会覆盖全局设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.