Add sbom
This commit is contained in:
parent
0b01888315
commit
fa68916d08
32
pom.xml
32
pom.xml
@ -96,12 +96,14 @@
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-war-plugin -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>3.3.2</version>
|
||||
</plugin>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.owasp/dependency-check-maven -->
|
||||
<plugin>
|
||||
<groupId>org.owasp</groupId>
|
||||
@ -115,6 +117,7 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
@ -122,6 +125,35 @@
|
||||
<version>3.0.0-M7</version>
|
||||
</plugin>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.cyclonedx/cyclonedx-maven-plugin -->
|
||||
<plugin>
|
||||
<groupId>org.cyclonedx</groupId>
|
||||
<artifactId>cyclonedx-maven-plugin</artifactId>
|
||||
<version>2.7.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>makeAggregateBom</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<projectType>library</projectType>
|
||||
<schemaVersion>1.4</schemaVersion>
|
||||
<includeBomSerialNumber>true</includeBomSerialNumber>
|
||||
<includeCompileScope>true</includeCompileScope>
|
||||
<includeProvidedScope>true</includeProvidedScope>
|
||||
<includeRuntimeScope>true</includeRuntimeScope>
|
||||
<includeSystemScope>true</includeSystemScope>
|
||||
<includeTestScope>false</includeTestScope>
|
||||
<includeLicenseText>false</includeLicenseText>
|
||||
<outputReactorProjects>true</outputReactorProjects>
|
||||
<outputFormat>all</outputFormat>
|
||||
<outputName>bom</outputName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/com.google.cloud.tools/jib-maven-plugin -->
|
||||
<!--
|
||||
<plugin>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user