This is an automated email from the ASF dual-hosted git repository.

zhfeng pushed a commit to branch 3.2.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/3.2.x by this push:
     new bffba84625 Add Generated SBOM to release as artifacts (#5296) (#5568)
bffba84625 is described below

commit bffba84625ee7ae4dcaf10b5db5b906971644b6c
Author: Zheng Feng <[email protected]>
AuthorDate: Thu Nov 30 16:45:11 2023 +0800

    Add Generated SBOM to release as artifacts (#5296) (#5568)
    
    Signed-off-by: Andrea Cosentino <[email protected]>
    Co-authored-by: Andrea Cosentino <[email protected]>
---
 pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pom.xml b/pom.xml
index e9164ef855..48d1308f4a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>

Reply via email to