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

commit 24e6985aa5764013bd56a594ffea490fbff1cc3a
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Jan 18 18:40:39 2023 +0100

    CAMEL-18951 - Introducing SBOM generation
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 parent/pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/parent/pom.xml b/parent/pom.xml
index e7bbb2e9f4e..df97aa77035 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -4765,5 +4765,25 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>sbom</id>
+            <build>
+            <plugins>
+                <plugin>
+                   <groupId>org.cyclonedx</groupId>
+                   <artifactId>cyclonedx-maven-plugin</artifactId>
+                   <version>2.7.4</version>
+                   <executions>
+                       <execution>
+                           <phase>package</phase>
+                           <goals>
+                               <goal>makeAggregateBom</goal>
+                           </goals>
+                      </execution>
+                   </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>

Reply via email to