Skip to content

Commit

Permalink
Added the SBOM generaion plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
elecharny committed Oct 29, 2024
1 parent 870cfaa commit 23e6ee1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@
<!-- Make Java 8 javadoc lint to shut the f*** up... -->
<!-- additionalparam>-Xdoclint:none</additionalparam -->

<!-- SBOM generation versions -->
<version.cyclonedx>2.9.0</version.cyclonedx>

<!-- Maven Plugins -->
<version.apache.rat.plugin>0.16.1</version.apache.rat.plugin>
<version.api.plugin>3.6.3</version.api.plugin>
Expand Down Expand Up @@ -787,6 +790,24 @@
</lifecycleMappingMetadata>
</configuration>
</plugin>

<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>${version.cyclonedx}</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>

Expand Down Expand Up @@ -879,6 +900,11 @@
</dependency>
</dependencies>
</plugin>

<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 23e6ee1

Please sign in to comment.