Skip to content

Unknown keyword meta:enum / deprecated - you should define your own Meta Schema or ... #713

@tkrah

Description

@tkrah

Bug Description

Hi,

while running version 3.0.1 of the plugin those two warnings are shown:

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
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

I know this is caused by the upstream library used by this plugin because those are not part of the schema spec - so I would like to do what the warning suggest, to add a NonValidationKeyword - but I've looked through the configuration options of the plugin and I am unable to configure this - am I right or did I miss that?

If there is none, can this be added so I am able to get a warning free execution?

Self-contained Reproducer Project

  • / -

Expected Behavior

I expect a sbom generation without those warnings after I configured the keywords as suggested.

Gradle build scan URL (optional)

No response

OS

Linux

Gradle version

9.1.0

CycloneDX Plugin version

3.0.1

Additional Context

No response

Contribution

  • I am willing to provide a fix
  • I will wait until somebody else fixes it

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions