summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2023-01-12 13:14:34 -0800
committerGitHub <noreply@github.com>2023-01-12 13:14:34 -0800
commitaa8790c72bcb02ce6f15dd93bbf6df4a14f9015b (patch)
tree5a070d2192371ec246c98120023f177ef98c0b50
parentb069edeb2436a051ad2b18e03fd67ae8ec23875c (diff)
downloadzookeeper-aa8790c72bcb02ce6f15dd93bbf6df4a14f9015b.tar.gz
ZOOKEEPER-4657: Publish SBOM artifacts (#1969)
Reviewed-by: Vinod Anandan <vinod@owasp.org> Signed-off-by: Chris Nauroth <cnauroth@apache.org>
-rwxr-xr-xpom.xml17
1 files changed, 17 insertions, 0 deletions
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>