-
Notifications
You must be signed in to change notification settings - Fork 8
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
Allow project-specific customization #90
Comments
Do you think of modelling our own Bom object or exposing the cyclonedx Bom object to the user? |
Good question. I could see value in either: indeed having our own Bom object is useful when making changes that should apply to both CycloneDX and (later) SPDX, but hooking into the upstream data structures would allow more fine-grained format-specific tweaks. If we end up implementing SPDX support (#89) with https://github.com/spdx/cdx2spdx then updates to the CycloneDX might also affect SPDX. As this is a poweruser feature I'd be OK with not committing to any particular API yet and just doing 'the simplest thing that could possibly work', knowing we can refactor it later. |
It would be good to provide projects with a way to make project-specific customizations to the
Bom
object, so we allow them to express facts about the software that are not picked up automatically yet (such as embedded/shaded artifacts).Maybe we can refactor things so that creating the
Bom
object is a separate sbt task, that can then be overridden in the project, so the customizedBom
object is picked up by the configuration that adds it to the published artifacts.The text was updated successfully, but these errors were encountered: