Skip to content

Commit

Permalink
Add Generated SBOM to release as artifacts (#5296)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Cosentino <[email protected]>
  • Loading branch information
oscerd authored and zhfeng committed Nov 29, 2023
1 parent 0177343 commit be76c17
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1122,6 +1122,23 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>${cyclonedx-maven-plugin-version}</version>
<inherited>false</inherited>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeAggregateBom</goal>
</goals>
</execution>
</executions>
<configuration>
<outputName>${project.artifactId}-${project.version}-sbom</outputName>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit be76c17

Please sign in to comment.