GithubHelp home page GithubHelp logo

Comments (3)

scottfrederick avatar scottfrederick commented on June 26, 2024

Thanks for trying out the new SBOM support @ciscoo.

The Spring Boot Gradle plugin should respond to the CycloneDX plugin and put the SBOM file in the appropriate location without additional configuration (see https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/CycloneDxPluginAction.java).

Can you give more details about the Gradle tasks you are running to generate the Spring Boot jar file that includes the SBOM, and share an example project with a build configuration that does not work as you expect?

from spring-boot.

scottfrederick avatar scottfrederick commented on June 26, 2024

We should consider adding the CycloneDX plugin to the Reacting to Other Plugins section of the Spring Boot Gradle plugin documentation.

from spring-boot.

ciscoo avatar ciscoo commented on June 26, 2024

@scottfrederick I had missed that part.

I see that the SBOM JSON file is included in the final archive (bootJar), but I had expected it to also be available when running the application locally without building the final archive.

In other words, I expected ./gradlew bootRun to also include the generated SBOM so I can view that locally, but it doesn't

I guess maybe that is something to callout or document.

from spring-boot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.