The discovery trait descriptors need `@Symbol` annotations to prevent name clashes when used with JCasC.
See same problem for github-branch-source :
https://github.com/jenkinsci/configuration-as-code-plugin/issues/657
https://github.com/jenkinsci/github-branch-source-plugin/pull/183/files
Thanks Peter Leibiger for catching this, I have started working. Will let you know when fixed.