Skip to content

Commit

Permalink
Including CycloneDX for SBOM generation
Browse files Browse the repository at this point in the history
  • Loading branch information
patbaumgartner committed May 26, 2024
1 parent fa8f683 commit ae0ce20
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.springframework.boot' version '3.3.0'
id 'io.spring.dependency-management' version '1.1.5'
id 'org.graalvm.buildtools.native' version '0.10.2'
id 'org.cyclonedx.bom' version '1.8.2'
id 'io.spring.javaformat' version '0.0.41'
id "io.spring.nohttp" version "0.0.11"
}
Expand Down
10 changes: 8 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@
</executions>
</plugin>

<!-- Spring Boot Actuator displays build-related information if a git.properties
file is present at the classpath -->
<!-- Spring Boot Actuator displays build-related information if a git.properties file is
present at the classpath -->
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
Expand All @@ -267,6 +267,12 @@
<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>
</configuration>
</plugin>
<!-- Spring Boot Actuator displays sbom-related information if a CycloneDX SBOM file is
present at the classpath -->
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
</plugin>

</plugins>
</build>
Expand Down

0 comments on commit ae0ce20

Please sign in to comment.