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

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new ac325845da5 CAMEL-19844 - Add SBOM to release (#11360)
ac325845da5 is described below

commit ac325845da542a9d061dc9977af3491cce59f2c3
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Sep 11 11:57:01 2023 +0200

    CAMEL-19844 - Add SBOM to release (#11360)
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/pom.xml b/pom.xml
index 555cd1e2488..a710930ee7a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -750,6 +750,24 @@
                             </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