You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by cn...@apache.org on 2023/01/12 21:16:26 UTC

[zookeeper] branch branch-3.7 updated: ZOOKEEPER-4657: Publish SBOM artifacts (#1969)

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

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


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

commit 08a1e084ae05d1b13487a22fda9b47f1816bb673
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Thu Jan 12 13:14:34 2023 -0800

    ZOOKEEPER-4657: Publish SBOM artifacts (#1969)
    
    Reviewed-by: Vinod Anandan <vi...@owasp.org>
    Signed-off-by: Chris Nauroth <cn...@apache.org>
    (cherry picked from commit aa8790c72bcb02ce6f15dd93bbf6df4a14f9015b)
    (cherry picked from commit 23bf6bfc22be559a1262765a5e099862560ee0a1)
---
 pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pom.xml b/pom.xml
index 8c446a045..0e74645c3 100755
--- a/pom.xml
+++ b/pom.xml
@@ -795,6 +795,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>
 
@@ -1089,6 +1094,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>