Skip to content

Commit

Permalink
Provide SBOM as released artifacts when releasing (#1631)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Sep 7, 2023
1 parent 17cf92e commit 4e8f2f8
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 @@ -424,6 +424,23 @@
</failIfNoFiles><!-- usually, no file to do checksum: don't consider error -->
</configuration>
</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 4e8f2f8

Please sign in to comment.