Skip to content

Adding --watches and --project flags to jf rt mvn command when scanning #374

@dortam888

Description

@dortam888

Problem Description:
When scanning local file system artifacts before uploading them from a build using jf rt mvn --scan, Currently JFrog CLI will use jf scan with a --repo-path flag by default. The repo-path will be the repo-deploy-release that is configured with mvnc command.
In case repo-deploy-release is defined as a virtual repository Xray will use it as the repo-path but won't find any watches on it since a virtual repository can't be indexed in Xray and therefore can't be configured for watches.

Feature Description:
Instead of using the default repo-path add --watches and --project to jf rt mvn when using --scan flag, like in jf scan command, so it can be used to scan artifacts for violations when using a virtual repository as the deploy repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions