-
Notifications
You must be signed in to change notification settings - Fork 78
Description
I have searched for similar issues!
Issue
The JFrog CLI command in the jfrog-oauth module uses a deprecated argument that is no longer valid in recent versions of the JFrog CLI.
Current code (line 102 in run.sh):
jf mvnc --global --repo-resolve "${REPOSITORY_MAVEN}"
Required update:
jf mvnc --global --repo-resolve-releases "${REPOSITORY_MAVEN}" --repo-resolve-snapshots "${REPOSITORY_MAVEN}"
Affected file: https://github.com/coder/registry/blob/main/registry/coder/modules/jfrog-oauth/run.sh#L102
JFrog CLI Version
The --repo-resolve argument was/may be deprecated in JFrog CLI version (Could be v1 vs v2 artefact) and replaced with separate --repo-resolve-releases and --repo-resolve-snapshots arguments.
This relates to PR #414 - but appears to use old parameters.
The parameter is listed for gradle: https://jfrog.com/help/r/jfrog-applications-and-cli-documentation/package-managers-integration?contentId=jItrlvAYnUQg_nAnQx5rYQ but not mvnc/maven.