Skip to content

Do not trigger BomSbtPlugin automatically#211

Open
ep-skolberg wants to merge 2 commits intosbt:mainfrom
ep-skolberg:210/no-auto-trigger
Open

Do not trigger BomSbtPlugin automatically#211
ep-skolberg wants to merge 2 commits intosbt:mainfrom
ep-skolberg:210/no-auto-trigger

Conversation

@ep-skolberg
Copy link
Copy Markdown

Fixes #210

@raboof
Copy link
Copy Markdown
Contributor

raboof commented Feb 23, 2026

While I appreciate this makes things slightly simpler in the case where you want to enable SBOMs for only a few subprojects, it makes things more complicated in the case where you want to enable SBOMs for all (sub)projects, which seems like the more common case.... I'm not sure this balances out.

Is it a strong convention among sbt plugins to only take effect when explicitly enabled?

@ep-skolberg
Copy link
Copy Markdown
Author

While I appreciate this makes things slightly simpler in the case where you want to enable SBOMs for only a few subprojects, it makes things more complicated in the case where you want to enable SBOMs for all (sub)projects, which seems like the more common case.... I'm not sure this balances out.

Is it a strong convention among sbt plugins to only take effect when explicitly enabled?

Not sure about any conventions or what is the most common case.

I'm coming from a rather big mono repo project where we have dozens of modules that produce libraries, we use in differing combinations in very few application binaries.
As we do not publish libraries and only use them internally, there is no need for us to create SBOM's for those.

Before, I go and disable this one plugin 348 times (or so) ,I guess I would rather fork and build my own version, which again is a pain of a different kind.

@ep-skolberg
Copy link
Copy Markdown
Author

ep-skolberg commented Feb 23, 2026

This is just a proposal or an attempt to make my life easier. If this doesn't work for others, I will deal ;)

And I have no idea why the build is failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support multi-project builds by no triggering the plugin automatically

2 participants