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 meta:[enum|deprecated] - you should define your own Meta Schema #564

Open
garydgregory opened this issue Oct 8, 2024 · 3 comments
Labels
build Build improvement/fix help wanted

Comments

@garydgregory
Copy link

garydgregory commented Oct 8, 2024

Hi All,

What am I supposed to do with these warnings:

[INFO] --- cyclonedx:2.9.0:makeAggregateBom (build-sbom-cyclonedx) @ commons-cli ---
[INFO] CycloneDX: Resolving Dependencies
[INFO] CycloneDX: Creating BOM version 1.6 with 0 component(s)
[INFO] CycloneDX: Writing and validating BOM (XML): /Users/garydgregory/git/commons-cli/target/commons-cli-1.9.1-SNAPSHOT-bom.xml
[INFO]            attaching as commons-cli-1.9.1-SNAPSHOT-cyclonedx.xml
[INFO] CycloneDX: Writing and validating BOM (JSON): /Users/garydgregory/git/commons-cli/target/commons-cli-1.9.1-SNAPSHOT-bom.json
[WARNING] Unknown keyword meta:enum - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword
[WARNING] Unknown keyword deprecated - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword
[INFO]            attaching as commons-cli-1.9.1-SNAPSHOT-cyclonedx.json
?

Reproducer:

git clone https://gitbox.apache.org/repos/asf/commons-cli
cd commons-cli
mvn clean verify -Dcommons.cyclonedx.version=2.9.0 -DskipTests

TY

@hboutemy
Copy link
Contributor

thanks for the report: it seems #305 is going worse, with root cause CycloneDX/cyclonedx-core-java#280

notice it seems the precise keyword issue from #305 seems to have been fixed by cyclonedx-core-java, but new similar issues addeed

I confess I opened CycloneDX/cyclonedx-core-java#280 but I did not try to help fixing: this is definitively the project requiring additional love...

@patpatpat123
Copy link

Hello team, I am facing the same issue.

Could you please help on this?

Thank you

@hboutemy hboutemy added help wanted build Build improvement/fix labels Nov 1, 2024
@hboutemy
Copy link
Contributor

hboutemy commented Nov 1, 2024

Could you please help on this?

yes: in addition to the link to the root cause I added previously, I added the "help wanted" label to clarify what's needed = someone to work on it, it's OSS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build improvement/fix help wanted
Projects
None yet
Development

No branches or pull requests

3 participants