Skip to content

Commit

Permalink
Fixes to CycloneDX BOM building to ensure BOM files are signed for de…
Browse files Browse the repository at this point in the history
…ployment.
  • Loading branch information
david-waltermire committed Feb 10, 2022
1 parent 8508c01 commit b85f35c
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<sourceDirectories>
Expand Down Expand Up @@ -254,20 +255,20 @@
<schemaVersion>${cyclonedx.schema.version}</schemaVersion>
<includeBomSerialNumber>true</includeBomSerialNumber>
<includeCompileScope>true</includeCompileScope>
<includeProvidedScope>true</includeProvidedScope>
<includeRuntimeScope>true</includeRuntimeScope>
<includeSystemScope>true</includeSystemScope>
<includeProvidedScope>false</includeProvidedScope>
<includeRuntimeScope>false</includeRuntimeScope>
<includeSystemScope>false</includeSystemScope>
<includeTestScope>false</includeTestScope>
<includeLicenseText>false</includeLicenseText>
<outputFormat>all</outputFormat>
<outputName>${project.artifactId}-${project.version}-cyclonedx</outputName>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeBom</goal>
<goal>makeAggregateBom</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
Expand Down Expand Up @@ -426,6 +427,25 @@
</sources>
</configuration>
</execution>
<!--
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/</file>
<type>xml</type>
<classifier>optional</classifier>
</artifact>
...
</artifacts>
</configuration>
</execution>
-->
</executions>
</plugin>
<plugin>
Expand Down

0 comments on commit b85f35c

Please sign in to comment.