Skip to content

Comments

add effective goal into BOM tool name#283

Merged
hboutemy merged 1 commit intomasterfrom
tool-goal
Feb 15, 2023
Merged

add effective goal into BOM tool name#283
hboutemy merged 1 commit intomasterfrom
tool-goal

Conversation

@hboutemy
Copy link
Contributor

having the goal name in the BOM content will help understand it the BOM is aggregate or not

root aggregate BOM describes tool as:

    "tools" : [
      {
        "vendor" : "OWASP Foundation",
        "name" : "CycloneDX Maven plugin makeAggregateBom",

while other BOMs are not aggregate:

    "tools" : [
      {
        "vendor" : "OWASP Foundation",
        "name" : "CycloneDX Maven plugin makeBom",

@sonatype-lift
Copy link

sonatype-lift bot commented Feb 15, 2023

🛠 Lift Auto-fix

Some of the Lift findings in this PR can be automatically fixed. You can download and apply these changes in your local project directory of your branch to review the suggestions before committing.1

# Download the patch
curl https://lift.sonatype.com/api/patch/github.com/CycloneDX/cyclonedx-maven-plugin/283.diff -o lift-autofixes.diff

# Apply the patch with git
git apply lift-autofixes.diff

# Review the changes
git diff

Want it all in a single command? Open a terminal in your project's directory and copy and paste the following command:

curl https://lift.sonatype.com/api/patch/github.com/CycloneDX/cyclonedx-maven-plugin/283.diff | git apply

Once you're satisfied, commit and push your changes in your project.

Footnotes

  1. You can preview the patch by opening the patch URL in the browser.

@hboutemy hboutemy force-pushed the tool-goal branch 2 times, most recently from 7d28632 to f6fd808 Compare February 15, 2023 22:35
Signed-off-by: Hervé Boutemy <hboutemy@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant