From 48727130e7db68e40267335bcc2727c6aa2eed4d Mon Sep 17 00:00:00 2001 From: Thomas Steenbergen Date: Fri, 13 Dec 2024 16:20:39 +0100 Subject: [PATCH] feat(cyclonedx)!: Change default format to JSON Change default format as JSON is more popular than XML in the CycloneDX community see e.g. cdxgen [1]. [1]: https://github.com/CycloneDX/cdxgen Signed-off-by: Thomas Steenbergen --- .../reporters/cyclonedx/src/main/kotlin/CycloneDxReporter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/reporters/cyclonedx/src/main/kotlin/CycloneDxReporter.kt b/plugins/reporters/cyclonedx/src/main/kotlin/CycloneDxReporter.kt index a810d7b69473e..553d2d30efe0c 100644 --- a/plugins/reporters/cyclonedx/src/main/kotlin/CycloneDxReporter.kt +++ b/plugins/reporters/cyclonedx/src/main/kotlin/CycloneDxReporter.kt @@ -85,7 +85,7 @@ data class CycloneDxReporterConfig( * A comma-separated list of (case-insensitive) output formats to export to. Supported are XML and JSON. */ @OrtPluginOption( - defaultValue = "XML", + defaultValue = "JSON", aliases = ["output.file.formats"] ) val outputFileFormats: List