Skip to content

Commit

Permalink
Bump generated BOM to CycloneDX v1.5; Add external references
Browse files Browse the repository at this point in the history
Closes #3602

Signed-off-by: nscuro <[email protected]>
  • Loading branch information
nscuro committed Sep 1, 2024
1 parent 2057e62 commit 9844242
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 3 deletions.
57 changes: 55 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@
<lib.jdbc-driver.mysql.version>8.0.33</lib.jdbc-driver.mysql.version>
<lib.jdbc-driver.postgresql.version>42.7.3</lib.jdbc-driver.postgresql.version>
<!-- Maven Plugin Properties -->
<plugin.cyclonedx.projectType>application</plugin.cyclonedx.projectType>
<plugin.cyclonedx.outputFormat>json</plugin.cyclonedx.outputFormat>
<plugin.retirejs.breakOnFailure>false</plugin.retirejs.breakOnFailure>
<plugin.jetty.version>12.0.12</plugin.jetty.version>
<!-- SonarCloud properties -->
Expand Down Expand Up @@ -589,6 +587,61 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<executions>
<execution>
<id>cyclonedx-aggregate</id>
<phase>prepare-package</phase>
<goals>
<goal>makeAggregateBom</goal>
</goals>
</execution>
</executions>
<configuration>
<projectType>application</projectType>
<schemaVersion>1.5</schemaVersion>
<includeCompileScope>true</includeCompileScope>
<includeProvidedScope>true</includeProvidedScope>
<includeRuntimeScope>true</includeRuntimeScope>
<includeSystemScope>true</includeSystemScope>
<includeTestScope>false</includeTestScope>
<includeLicenseText>false</includeLicenseText>
<outputReactorProjects>true</outputReactorProjects>
<outputFormat>json</outputFormat>
<externalReferences>
<externalReference>
<type>advisories</type>
<url>https://github.com/DependencyTrack/dependency-track/security/advisories</url>
</externalReference>
<externalReference>
<type>chat</type>
<url>https://dependencytrack.org/slack</url>
</externalReference>
<externalReference>
<type>documentation</type>
<url>https://docs.dependencytrack.org/</url>
</externalReference>
<externalReference>
<type>release-notes</type>
<url>https://docs.dependencytrack.org/changelog/</url>
</externalReference>
<externalReference>
<type>security-contact</type>
<url>mailto:[email protected]</url>
</externalReference>
<externalReference>
<type>social</type>
<url>https://www.linkedin.com/company/owasp-dependency-track</url>
</externalReference>
<externalReference>
<type>social</type>
<url>https://x.com/dependencytrack</url>
</externalReference>
</externalReferences>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/services.bom.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"bomFormat": "CycloneDX",
"specVersion": "1.4",
"specVersion": "1.5",
"serialNumber": "urn:uuid:d8e07202-6817-42c1-8cae-20254567672f",
"version": 1,
"services": [
Expand Down

0 comments on commit 9844242

Please sign in to comment.