jfrog / jfrog-cli

JFrog CLI is a client that provides a simple interface that automates access to the JFrog products.
https://www.jfrog.com/confluence/display/CLI/JFrog+CLI
Apache License 2.0
529 stars 224 forks source link

jf audit and maven parameters #1715

Open vmiko opened 1 year ago

vmiko commented 1 year ago

Is your feature request related to a problem? Please describe. Currently, the jf cli doesn't have the capability to add maven custom parameters during a jf audit --mvn command. This if frustrating because for specific projects like talend project, we often pass parameters for maven commands.

Describe the solution you'd like to see jf audit --mvn has the capability to get additional maven goals.

The mvn.go in the jfrog-cli-core have already a set of goals and parameters ("-B", "compile", "test-compile"). It should be possible to pass an additional array of strings containing the custom parameters.

Describe alternatives you've considered

Additional context

eenglund-wex commented 3 months ago

I agree this is very frustrating, I would like to pass commands like a local m2 repository folder and no transfer progress

eenglund-wex commented 3 months ago

It would be nice if the jf command line respected MAVEN_ARGS environment variable