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
535 stars 234 forks source link

jf audit and maven parameters #1715

Open vmiko opened 2 years ago

vmiko commented 2 years 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 5 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 5 months ago

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