-
-
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
ExtensibleTypes #52
Comments
Java code to produce the attributes (extensibleType).
|
Any chance we can get a base constructor (and getters for fields in) in the ExtensibleType class. This will allow the user of other generators, such as Jackson to be used. Thanks. |
Getters are already there, but certainly, a non arg constructor could be added. PRs welcome. Also based on the type of data you're adding, you may be interested in CycloneDX/specification#31 and CycloneDX/specification#42 |
Sorry. Not getters, but setters. For jackson to work correctly we would need getters and setters. I actually have a clone of the ExtensibleType class, but just had to make those changes. This way we can read in actaully what was in the bom, and reproduce it with the "ExtensibleType" not getting lost. Thanks a bunch. This is a great product. Keep up the good work. |
On another note, if you are interested. I created a standalone application (java) that can be used to produce a Bom for Unix environments. To include Alpine, Centos, Debian, Redhat, and Ubuntu. It currently only uses the PackageManger (yum, apt, apk) to produce the boms. I am also working on a "non" package manger bom creator. |
I can also just give you my changes to the ExtensibleType class if you would like? Just let me know. |
I added an extensible type to a component. Code wise it looks good. I see the extensible type. XML wise looks a little wierd.
I would have expected it to be
And when attempting to read back in the bom.xml file, sure enough the extensible type is no where to be found.
The text was updated successfully, but these errors were encountered: