You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the executable I needed to run export PATH=./:$PATH to get it to find the committed mvnw file in the repo, otherwise I get an error:
~/Downloads/executables/maven-dependency-tree-submission-macos -t xxxxxx -r od-ctcampbell/demo-jenkins-1 -b refs/head/main -s $(git rev-parse HEAD)
::group::depgraph-maven-plugin:reactor
::warning::Error encountered executing maven: Unable to locate executable file: mvnw. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
::endgroup::
::error::Error: Failed to successfully generate reactor results with Maven, exit code: -1
Failed to generate a dependency snapshot, check logs for more details, Error: A problem was encountered generating dependency files, please check execution logs for details; Failed to successfully generate reactor results with Maven, exit code: -1
Error: A problem was encountered generating dependency files, please check execution logs for details; Failed to successfully generate reactor results with Maven, exit code: -1
at /snapshot/maven-dependency-submission-action/lib/src/snapshot-generator.js:115:19
at Generator.next (<anonymous>)
at fulfilled (/snapshot/maven-dependency-submission-action/lib/src/snapshot-generator.js:28:58)
A problem was encountered generating dependency files, please check execution logs for details; Failed to successfully generate reactor results with Maven, exit code: -1
Usage: maven-dependency-tree-submission [options]
Options:
-V, --version output the version number
-t, --token <token> GitHub access token
-r --repository <repository> GitHub repository, owner/repo_name format
-b --branch-ref <ref> GitHub repository branch reference, e.g. refs/heads/main
-s --sha <commitSha> GitHub repository commit SHA
-d --directory <maven-project-directory> the directory containing the Maven POM file (default: ".")
--settings-file <settings-file> path to the Maven settings file
--ignore-maven-wrapper ingore Maven wrappers, if present, and use Maven from the PATH
--maven-args <maven-args> additional arguments to pass to Maven
--github-api-url <url> GitHub API URL (default: "https://api.github.com")
-j --job-name <jobName> Optional name for the activity creating and submitting the graph (default: "maven-dependency-submission-cli")
-i --run-id <jobName> Optional Run ID number for the activity that is providing the graph
-h, --help display help for command
The text was updated successfully, but these errors were encountered:
When using the executable I needed to run
export PATH=./:$PATH
to get it to find the committedmvnw
file in the repo, otherwise I get an error:The text was updated successfully, but these errors were encountered: