forked from phoedos/pmd
Exclude pmd-cli/pmd-dist from cyclonedx BOM
This should make the bom.xml/bom.json files be reproducible again.
This commit is contained in:
parent
4b14d4e757
commit
53aecb655d
12
pom.xml
12
pom.xml
@ -756,6 +756,18 @@
|
||||
<goals>
|
||||
<goal>makeAggregateBom</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<!-- PMD is released in two phases: first everything without pmd-cli/pmd-dist
|
||||
(profile cli-dist-modules disabled), and then only pmd-cli/pmd-dist.
|
||||
The BOM for the main artifact net.sourceforge.pmd:pmd is created and published
|
||||
in the first phase and doesn't contain pmd-cli/pmd-dist. In order to be able
|
||||
to reproduce the BOM, we exclude this two modules always.
|
||||
-->
|
||||
<excludeArtifactId>
|
||||
<artifactId>pmd-cli</artifactId>
|
||||
<artifactId>pmd-dist</artifactId>
|
||||
</excludeArtifactId>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
Loading…
x
Reference in New Issue
Block a user