Skip to content
Snippets Groups Projects
Commit 501cb824 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4833 add sbom to jar file

parent 173c9e39
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,6 @@
<git-commit-id-maven-plugin.version>7.0.0</git-commit-id-maven-plugin.version>
<dependency-track-maven-plugin.version>1.7.0</dependency-track-maven-plugin.version>
<cyclonedx-maven-plugin.version>2.8.1</cyclonedx-maven-plugin.version>
</properties>
<dependencyManagement>
......@@ -363,12 +362,12 @@
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>${cyclonedx-maven-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeAggregateBom</goal>
<goal>makeBom</goal>
</goals>
</execution>
</executions>
......@@ -390,11 +389,11 @@
<resources>
<resource>
<directory>${project.build.directory}</directory>
<includes>
<include>bom.xml</include>
</includes>
<targetPath>META-INF</targetPath>
<directory>${project.build.outputDirectory}/META-INF/sbom</directory>
<includes>
<include>application.cdx.json</include>
</includes>
<targetPath>META-INF/sbom</targetPath>
</resource>
</resources>
</build>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment