You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by co...@apache.org on 2023/10/19 09:00:42 UTC

[directory-server] 01/01: Adding CycloneDX SBOMs

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

coheigea pushed a commit to branch coheigea/sbom
in repository https://gitbox.apache.org/repos/asf/directory-server.git

commit bbe9e8d51d321d2d1d2d686bcdf60ffbc29bdda6
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Thu Oct 19 10:00:25 2023 +0100

    Adding CycloneDX SBOMs
---
 pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/pom.xml b/pom.xml
index 08cca20342..e685a225c6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -484,6 +484,23 @@
             </properties>
           </configuration>
          </plugin>
+         <plugin>
+          <groupId>org.cyclonedx</groupId>
+          <artifactId>cyclonedx-maven-plugin</artifactId>
+          <version>2.7.9</version>
+          <executions>
+            <execution>
+              <id>make-bom</id>
+              <phase>package</phase>
+              <goals>
+                <goal>makeAggregateBom</goal>
+              </goals>
+            </execution>
+          </executions>
+          <configuration>
+            <outputName>${project.artifactId}-${project.version}-bom</outputName>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     
@@ -577,6 +594,10 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.cyclonedx</groupId>
+        <artifactId>cyclonedx-maven-plugin</artifactId>
+      </plugin>
     </plugins>
   </build>