-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
code cleanup: move parameter to aggregate, simplify code #249
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the cleanup. Looks good. Just a few minor changes requested.
* Excluded ArtifactIds. | ||
*/ | ||
@Parameter(property = "excludeArtifactId", required = false) | ||
protected String[] excludeArtifactId; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should continue to be in BaseCycloneDxMojo. Both makeBom and makeAggregateBom should account for exclusions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it currently is not taken into account in makeBom, or the refactoring would not have been ok: IIUC, this means there is a bug in makeBom, that will require another fix.
I'll revert that part of the refactoring in the current PR, and open another bugfix PR for taking the config into account into makeBom
on First finding: the feature was added in #91 with If we extend the usage, we'll need to update documentation... |
Signed-off-by: Hervé Boutemy <[email protected]>
Big thanks @hboutemy |
No description provided.