You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/01/18 17:59:47 UTC

[camel] 03/03: CAMEL-18951 - Introducing SBOM generation

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 e437be2d2544fa2df709a3d32fba97ce5e0f874d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jan 18 18:58:56 2023 +0100

    CAMEL-18951 - Introducing SBOM generation
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 apache-camel/pom.xml | 26 +++++++++++++++++++++++++-
 parent/pom.xml       | 20 --------------------
 2 files changed, 25 insertions(+), 21 deletions(-)

diff --git a/apache-camel/pom.xml b/apache-camel/pom.xml
index 86925e7c725..faf2db05826 100644
--- a/apache-camel/pom.xml
+++ b/apache-camel/pom.xml
@@ -232,5 +232,29 @@
             </plugin>
         </plugins>
     </build>
-
+    <profiles>
+            <profile>
+            <id>sbom</id>
+            <build>
+            <plugins>
+                <plugin>
+                   <groupId>org.cyclonedx</groupId>
+                   <artifactId>cyclonedx-maven-plugin</artifactId>
+                   <version>${cyclonedx-maven-plugin-version}</version>
+                   <configuration>
+                        <outputName>camel-sbom</outputName>
+                   </configuration>
+                   <executions>
+                       <execution>
+                           <phase>package</phase>
+                           <goals>
+                               <goal>makeAggregateBom</goal>
+                           </goals>
+                      </execution>
+                   </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>
diff --git a/parent/pom.xml b/parent/pom.xml
index 6e9e8f3cc41..75cc643c217 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -4766,25 +4766,5 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>sbom</id>
-            <build>
-            <plugins>
-                <plugin>
-                   <groupId>org.cyclonedx</groupId>
-                   <artifactId>cyclonedx-maven-plugin</artifactId>
-                   <version>${cyclonedx-maven-plugin-version}</version>
-                   <executions>
-                       <execution>
-                           <phase>package</phase>
-                           <goals>
-                               <goal>makeAggregateBom</goal>
-                           </goals>
-                      </execution>
-                   </executions>
-                </plugin>
-            </plugins>
-            </build>
-        </profile>
     </profiles>
 </project>