Skip to content

Commit 9647c3f

Browse files
feat: Support for generating CycloneDX sboms (#119)
Signed-off-by: Justin Abrahms <[email protected]>
1 parent e9732b5 commit 9647c3f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

pom.xml

+26
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,32 @@
164164
<build>
165165
<plugins>
166166

167+
<plugin>
168+
<groupId>org.cyclonedx</groupId>
169+
<artifactId>cyclonedx-maven-plugin</artifactId>
170+
<version>2.7.0</version>
171+
<configuration>
172+
<projectType>library</projectType>
173+
<schemaVersion>1.3</schemaVersion>
174+
<includeBomSerialNumber>true</includeBomSerialNumber>
175+
<includeCompileScope>true</includeCompileScope>
176+
<includeProvidedScope>true</includeProvidedScope>
177+
<includeRuntimeScope>true</includeRuntimeScope>
178+
<includeSystemScope>true</includeSystemScope>
179+
<includeTestScope>false</includeTestScope>
180+
<includeLicenseText>false</includeLicenseText>
181+
<outputFormat>all</outputFormat>
182+
</configuration>
183+
<executions>
184+
<execution>
185+
<phase>package</phase>
186+
<goals>
187+
<goal>makeAggregateBom</goal>
188+
</goals>
189+
</execution>
190+
</executions>
191+
</plugin>
192+
167193
<plugin>
168194
<artifactId>maven-dependency-plugin</artifactId>
169195
<version>3.3.0</version>

0 commit comments

Comments
 (0)