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

"[WARNING] Unknown keyword additionalItems" when validating generated json #305

Open
hboutemy opened this issue Mar 7, 2023 · 2 comments

Comments

@hboutemy
Copy link
Contributor

hboutemy commented Mar 7, 2023

since 2.6.0 (but not with 2.5.3), makeAggregateBom IT https://github.com/CycloneDX/cyclonedx-maven-plugin/tree/master/src/it/makeAggregateBom execution triggers a warning when validating json:

[INFO] CycloneDX: Validating BOM (JSON): /path/to/CycloneDX/cyclonedx-maven-plugin/target/its/makeAggregateBom/target/bom.json
[WARNING] Unknown keyword additionalItems - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword
@hboutemy
Copy link
Contributor Author

issue is in cyclonedx-core-java library: CycloneDX/cyclonedx-core-java#280

@pimschrama
Copy link

Same issue in version 2.7.11 . Even when I run with parameter -Dcyclonedx.outputFormat=xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants