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

[ws-wss4j] branch 3_0_x-fixes updated: WSS-705 Add SBOMs to published packages (#212)

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

coheigea pushed a commit to branch 3_0_x-fixes
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git


The following commit(s) were added to refs/heads/3_0_x-fixes by this push:
     new c6ffaf764 WSS-705 Add SBOMs to published packages (#212)
c6ffaf764 is described below

commit c6ffaf76429525f3186e79d4c7c79528784cbfbf
Author: Colm O hEigeartaigh <co...@users.noreply.github.com>
AuthorDate: Tue Oct 10 11:26:41 2023 +0100

    WSS-705 Add SBOMs to published packages (#212)
---
 pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/pom.xml b/pom.xml
index 9205fa845..0e4900726 100644
--- a/pom.xml
+++ b/pom.xml
@@ -195,6 +195,10 @@
                     <autoVersionSubmodules>true</autoVersionSubmodules>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.cyclonedx</groupId>
+                <artifactId>cyclonedx-maven-plugin</artifactId>
+            </plugin>
         </plugins>
         <pluginManagement>
             <plugins>
@@ -326,6 +330,23 @@
                     <artifactId>maven-source-plugin</artifactId>
                     <version>3.2.1</version>
                 </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>