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

acosentino pushed a commit to branch CAMEL-19845
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit 54fb18a1ff509ca2c5d71ff5c9666d142fcf6886
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue Sep 12 10:29:34 2023 +0200

    CAMEL-19845 - Camel-Spring-Boot: Add SBOM to release
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pom.xml b/pom.xml
index 2403fbc0fc5..16fd25172fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -778,6 +778,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