-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
SBOM generation should fail on unknown pom.xml dependency #1433
Comments
Is there a way to make maven cli error out? I only a see a warning and the command succeeds.
|
I rarely use Maven directly as I code in Clojure and use Leiningen automation tool instead of writing |
Thank you! The below command works. mvn dependency:analyze-only -DfailOnWarning=true The below, however, did not.
May be if |
pom.xml
with the non-existentabc/def
dependency:Command:
Expected
The command fails with non-
0
exit code,sbom.json
is not generated.Actual
Exit code
0
,sbom.json
is generated.The text was updated successfully, but these errors were encountered: