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

cnauroth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new aa8790c72 ZOOKEEPER-4657: Publish SBOM artifacts (#1969)
aa8790c72 is described below

commit aa8790c72bcb02ce6f15dd93bbf6df4a14f9015b
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Jan 12 13:14:34 2023 -0800

    ZOOKEEPER-4657: Publish SBOM artifacts (#1969)
    
    Reviewed-by: Vinod Anandan <[email protected]>
    Signed-off-by: Chris Nauroth <[email protected]>
---
 pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pom.xml b/pom.xml
index e54f51377..9de520a8d 100755
--- a/pom.xml
+++ b/pom.xml
@@ -918,6 +918,11 @@
           <artifactId>maven-bundle-plugin</artifactId>
           <version>5.1.1</version>
         </plugin>
+        <plugin>
+          <groupId>org.cyclonedx</groupId>
+          <artifactId>cyclonedx-maven-plugin</artifactId>
+          <version>2.7.3</version>
+       </plugin>
       </plugins>
     </pluginManagement>
 
@@ -1188,6 +1193,18 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.cyclonedx</groupId>
+        <artifactId>cyclonedx-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>makeBom</goal>
+            </goals>
+            <phase>package</phase>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
     <resources>
       <resource>

Reply via email to