-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
[WARNING] Unknown keyword additionalItems - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword #280
Comments
Any means to circumvent this problem? |
Likely caused by minor technical defects in prior schemas. These warnings can simply be ignored. I believe we have eliminated these issues in v1.5 |
It stills occures with current core version (7.3.2 used by Maven CycloneDX-Plugin 2.7.9, released May 2023). So it was not fixed in 7.1.5 :/ |
@Bukama we never said it was fixed in cyclonedx-core-java. What was said was that we have fixed the issue in v1.5 of the CycloneDX schema. We have yet to release a version of cyclonedx-core-java that supports the v1.5 schema, but we're close to doing so. The next point release will include support for the v1.5 schema, so generating BOMs with that schema should not yield any warnings, however generating BOMs targeting CycloneDX v1.4 will continue to generate the warnings (as expected). |
Thanks for the clarification. I understood your comment as a reference to the 7.1.5 version, my bad! |
Hi, still happens in maven plugin 2.7.11 with core 8.0.3. Any hope we can get it fixed soon? |
@rmannibucau maven plugin 2.7.11 does not use core 8 but 7: maven 2.8 will use code 8, currently available as SNAPSHOT only |
Thanks @hboutemy , I can confirm there is no more warning with the snapshot. |
it should come soon, a few improvements to add before |
Is there a status update available please? |
just tested with
I still don't get how to improve cyclonedx-core-java: should this schema be updated? should the code be updated to not warn on such case? how? |
|
warning that appears in cyclone-dx-maven plugin when validating the json SBOM that just has been generated: see CycloneDX/cyclonedx-maven-plugin#305
it seems this is a problem when parsing the json schema https://github.com/CycloneDX/cyclonedx-core-java/blob/master/src/main/resources/bom-1.4.schema.json
The text was updated successfully, but these errors were encountered: