Skip to content

Starter parent applies its configuration of the CycloneDX Maven plugin too broadly #40927

@nekhtan

Description

@nekhtan

Hello,

I'm trying to generate an SBOM of a project using the CycloneDX Maven plugin. This project declares SpringBoot 3.3.0 as parent pom.

I execute the following command:
mvn org.cyclonedx:cyclonedx-maven-plugin:2.8.0:makeAggregateBom -DoutputName=bom -DoutputDirectory=./sbom -q

But the resulting SBOM file is: target/classes/META-INF/sbom/application.cdx.json

Now if I downgrade the SpringBoot version to 3.2.5, the SBOM is: sbom/bom.json (as expected, and there's even a sbom/bom.xml available)

Would it be possible to make the SpringBoot's defaults configurable ?

Note that the weird part is that specifying the configuration using -D should take precedence, no ?

Thanks in advance !

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions