Skip to content

Commit 3effe99

Browse files
authored
BUILD-1513 Add cycloneDX plugin for sbom management (#78)
1 parent 5ef3014 commit 3effe99

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
<version.codehaus.license.plugin>2.0.0</version.codehaus.license.plugin>
130130
<version.mycila.license.plugin>3.0</version.mycila.license.plugin>
131131
<version.gpg.plugin>0.3.1</version.gpg.plugin>
132+
<version.cyclonedx.plugin>2.5.3</version.cyclonedx.plugin>
132133

133134
<!-- To configure maven-license-plugin to check license headers -->
134135
<license.name>GNU LGPL v3</license.name>
@@ -330,6 +331,23 @@
330331
<artifactId>sign-maven-plugin</artifactId>
331332
<version>${version.gpg.plugin}</version>
332333
</plugin>
334+
<plugin>
335+
<groupId>org.cyclonedx</groupId>
336+
<artifactId>cyclonedx-maven-plugin</artifactId>
337+
<version>${version.cyclonedx.plugin}</version>
338+
<configuration>
339+
<projectType>application</projectType>
340+
<includeBomSerialNumber>true</includeBomSerialNumber>
341+
<includeCompileScope>true</includeCompileScope>
342+
<includeProvidedScope>true</includeProvidedScope>
343+
<includeRuntimeScope>true</includeRuntimeScope>
344+
<includeSystemScope>true</includeSystemScope>
345+
<includeTestScope>true</includeTestScope>
346+
<includeLicenseText>false</includeLicenseText>
347+
<outputFormat>json</outputFormat>
348+
<outputName>bom</outputName>
349+
</configuration>
350+
</plugin>
333351
</plugins>
334352
</pluginManagement>
335353

0 commit comments

Comments
 (0)