Configuring Maven when using JFrog CLI

Viewed 28

When trying to run a build of a maven application using jfrog CLI, one of the prerequisite steps is to run

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 repository?

1 Answers

I believe this comment from the JFrog CLI Github page and the --global attribute option described here would be an useful information. It is important to note that the configuration set up using jf mvn-config may override the global settings.

Related