From 6cc8f0d83cdd776ba54dd46802f2e7dc7749dd9c Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Thu, 17 Oct 2024 13:53:00 +0200 Subject: [PATCH] Make CycloneDX SBOM artifact easier to recognize Adding the 'classifier' to get artifacts with names like `pekko-actor_2.13-cylonedx.xml` consistent with what the Maven plugin does. --- project/PekkoBuild.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/PekkoBuild.scala b/project/PekkoBuild.scala index e5af394bed..4dfb86bb6d 100644 --- a/project/PekkoBuild.scala +++ b/project/PekkoBuild.scala @@ -262,7 +262,7 @@ object PekkoBuild { JdkOptions.targetJdkSettings, // needed until https://github.com/siculo/sbt-bom/pull/57 has been merged packagedArtifacts += { - Artifact(artifact.value.name, "cyclonedx", "xml") -> makeBom.value + Artifact(artifact.value.name, "cyclonedx", "xml", "cyclonedx") -> makeBom.value }, // a workaround for https://github.com/akka/akka/issues/27661 // see also project/Protobuf.scala that introduces /../ to make "intellij happy"