Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jf audit --mvn fail on mvn version #89

Open
chkp-roniz opened this issue Jun 20, 2024 · 0 comments
Open

jf audit --mvn fail on mvn version #89

chkp-roniz opened this issue Jun 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chkp-roniz
Copy link

Describe the bug

jf audit fail to run for maven project

According to docs: "Version 3.1.0 or above of Maven is supported."
According to local execution: "requires Maven version 3.6.3"

[ERROR] Failed to execute goal com.jfrog:maven-dep-tree:1.1.0:tree (default-cli) on project myProject: The plugin com.jfrog:maven-dep-tree:1.1.0 requires Maven version 3.6.3

Current behavior

% jf audit
16:31:27 [Debug] JFrog CLI version: 2.56.1
16:31:27 [Debug] OS/Arch: linux/386
16:31:27 [Debug] Trace ID for JFrog Platform logs: 058034d09f3754e6
16:31:27 [Debug] Sending HTTP GET request to: https://artifactory.company.com/xsc/api/v1/system/version
16:31:27 [🔵Info] Log path: /tmp/.jfrog/logs/jfrog-cli.2024-06-20.16-31-27.3733.log
16:31:36 [Debug] Sending an error report to JFrog analytics...
16:31:36 [Debug] Sending HTTP GET request to: https://artifactory.company.com/xsc/api/v1/system/version
16:31:36 [Debug] failed to check availability of Xsc service:server response: 404 Not Found
404 page not found

Reporting to JFrog analytics is skipped...
16:31:36 [🚨Error] audit command in '/tmp/cms' failed:
failed while building 'maven' dependency tree:
failed running command 'mvn com.jfrog:maven-dep-tree:1.1.0:tree -DdepsTreeOutputFile=/tmp/project/jfrog.cli.temp.-1718890292-3492778425/mavendeptree.out -B -s /tmp/project/jfrog.cli.temp.-1718890292-3492778425/settings.xml': exit status 1

Reproduction steps

No response

Expected behavior

No response

JFrog CLI-Security version

See log

JFrog CLI version (if applicable)

See log

Operating system type and version

See log

JFrog Xray version

No response

@chkp-roniz chkp-roniz added the bug Something isn't working label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant