[dist] Make SBOM optional in assembly descriptor
fix dist sbom
This commit is contained in:
parent
db02f357c5
commit
decb759a8f
@ -18,6 +18,13 @@
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.cyclonedx</groupId>
|
||||
<artifactId>cyclonedx-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<outputName>pmd-${project.version}-cyclonedx</outputName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
|
@ -51,20 +51,16 @@
|
||||
<directoryMode>0755</directoryMode>
|
||||
<fileMode>0644</fileMode>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
|
||||
<files>
|
||||
<file>
|
||||
<source>target/bom.xml</source>
|
||||
<fileSet>
|
||||
<includes>
|
||||
<include>pmd-*-cyclonedx.xml</include>
|
||||
<include>pmd-*-cyclonedx.json</include>
|
||||
</includes>
|
||||
<directory>target</directory>
|
||||
<outputDirectory>sbom</outputDirectory>
|
||||
<destName>pmd-${project.version}-cyclonedx.xml</destName>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/bom.json</source>
|
||||
<outputDirectory>sbom</outputDirectory>
|
||||
<destName>pmd-${project.version}-cyclonedx.json</destName>
|
||||
</file>
|
||||
</files>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
|
||||
<dependencySets>
|
||||
<!-- jar dependencies go to lib/ -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user